Improve content-length middleware
1) It makes Rack::ContentLength middleware conform with the rack specification by removing the to_ary check; 2) Make Rack::ContentLength accept an extra header argument that checks for sendfile headers
Test that parsing a multipart/mixed upload no longer blows up
keep :secret and :coder in env["rack.session.options"]
Ensure cookies respect renew.
…e is availabl
fixes session id generation on JRuby, might even produce slightly better performance on other Rubies
Ability for rackup/Rack::Server to accept handler-specific options on the command line
Signed-off-by: raggi <firstname.lastname@example.org>
Backport URI.encode_www_form_component instead.
allow multi-line comments in the config file
…rt of the query string.
…2 Rack can explode when Content-Type is present, but "filename" is not. This is a bug in handling multipart. Apache HTTP Client will provide Content-Type description without filename for form-data, for example. Conflicts: test/spec_utils.rb Signed-off-by: raggi <email@example.com>
…us==204 etc from jjw
…woodard-multipart * 'multipart' of https://github.com/shwoodard/rack: refactor of multipart module Conflicts: test/spec_utils.rb
* master: Add protection against a malformed or malicious HTTP request causing an infinite loop If handler is not to be found, raise initial load error. If autoloading a rack handler by guessing the corresponding ruby file to load, take into account that this ruby file might register the handler properly. Conflicts: lib/rack/utils.rb