Rack v1.4.0 Release Notes

Release Date: 2011-12-28 // over 12 years ago
    • Ruby 1.8.6 support has officially been dropped. Not all tests pass.
    • Raise sane error messages for broken config.ru
    • Allow combining run and map in a config.ru
    • Rack::ContentType will not set Content-Type for responses without a body
    • Status code 205 does not send a response body
    • Rack::Response::Helpers will not rely on instance variables
    • Rack::Utils.build_query no longer outputs '=' for nil query values
    • Various mime types added
    • Rack::MockRequest now supports HEAD
    • Rack::Directory now supports files that contain RFC3986 reserved chars
    • Rack::File now only supports GET and HEAD requests
    • Rack::Server#start now passes the block to Rack::Handler::#run
    • Rack::Static now supports an index option
    • Added the Teapot status code
    • rackup now defaults to Thin instead of Mongrel (if installed)
    • Support added for HTTP_X_FORWARDED_SCHEME
    • Numerous bug fixes, including many fixes for new and alternate rubies