File should override Port/Host so that things like Rackup that *always* pass in a host/port combination can be overriden by the File parameter. This change makes that happen.
… files. rack@acffe8e
This prevents me from putting a daemon process in a jail of some kind, and being able to control the umask from the environment before I launch it. There is no corollary to this in the Ruby 1.9's Process.daemon, see rb_daemon in ruby/process.c.
Signed-off-by: raggi <firstname.lastname@example.org>
Some HTTP servers (e.g. Unicorn and Rainbows!) raise certain exceptions without a backtrace, so avoid triggering our own NoMethodError exception because of this.  - http://git.bogomips.org/cgit/unicorn.git/commit/?id=e4256da292f9626d7dfca60e08f65651a0a9139a Conflicts: test/spec_showexceptions.rb Signed-off-by: raggi <email@example.com>
…ers. this should not be forced on users.
Allows Rack to support byte-range requests (via the HTTP 1.1 "Range:" header) for static files, even when sendfile is not being used. Conforms to RFC 2616 sec. 14.35 _except_ that multiple byte-ranges are not supported yet. (They're parsed correctly, but the response body would need to be a MIME multipart.) Tested in Ruby 1.8.7 on Mac OS X 10.6.4. Signed-off-by: raggi <firstname.lastname@example.org>
… other frameworks. Signed-off-by: raggi <email@example.com>
…rkone-perfix * 'perfix' of http://github.com/thedarkone/rack: No need to delete a key that doesn't exist. Avoiding invoking #delete unless unnecessary. Fix the phantom header key bug. Revert "Don't set header to nil on HeaderHash#include?"