summary refs log tree commit
DateCommit message (Collapse)
2017-04-26Merge pull request #1161 from junaruga/feature/update-travis
Update .travis.yml
2017-04-22Update .travis.yml
2017-04-19Merge pull request #1154 from tricknotes/remove-mongrel
Remove "mongrel" from server option's description
2017-04-17Remove "mongrel" from server option's description
Currently [mongrel](https://github.com/mongrel/mongrel) is not maintained. And it couldn't be built with any Ruby versions that supported by Rack.
2017-03-27Merge pull request #1150 from wikimatze/master
Add Padrino to the supported web frameworks
2017-03-27Merge pull request #1151 from cremno/simplify-some-string-creations
Simplify some string creations
2017-03-25call String#b to create a binary copy
2017-03-25remove superflous String#force_encoding calls
String.new with no arguments already returns binary strings.
2017-03-25Add Padrino to the supported web frameworks
2017-03-21Merge pull request #1149 from jeremyevans/freeze-app
Add Builder#freeze_app to freeze application and all middleware instances
2017-03-14Add Builder#freeze_app to freeze application and all middleware instances
Freezing the application and middleware instances can prevent thread-safety issues at runtime. This addresses the issues discussed in #1010. Unlike the solution proposed by #1010, this is backwards compatible as it is opt-in, the application and middleware instances are only frozen if you choose to use freeze_app.
2017-02-23Merge pull request #1144 from nanaya/httpdate-for-expires
Use .httpdate for expires date formatting
2017-02-23Merge pull request #1117 from ioquatix/patch-3
Fix warnings and usage of $VERBOSE
2017-02-19Use .httpdate for expires date formatting
Specified in RFC 7231, section 7.1.1.2: Date.
2017-02-15Merge branch 'rfc7231-sec6.3.6-205'
* rfc7231-sec6.3.6-205: Revert "Add 205 Reset Content to the list of statuses without a message body"
2017-02-15Merge branch 'no-deflate'
* no-deflate: deflater: remove "deflate" encoding support
2017-01-25Merge pull request #1141 from brauliomartinezlm/bytesize_usage
Update bytesize usage after its removal from rack utils
2017-01-24Update bytesize usage after its removal from rack utils
2016-12-29Merge pull request #1137 from unabridged/fix-eof-failure
Fix MethodOverride EOFError failure
2016-12-29Write MethodOverride errors to RACK_ERRORS
2016-12-29Resolve undefined constant test failure by loading constant
2016-12-29Minimal resolution of EOFError in MethodOverride middleware
2016-12-14Revert "Add 205 Reset Content to the list of statuses without a message body" rfc7231-sec6.3.6-205
RFC 7231, section 6.3.5 gives three possible options for what a server MUST do when sending a 205 status code: > Since the 205 status code implies that no additional content will be > provided, a server MUST NOT generate a payload in a 205 response. In > other words, a server MUST do one of the following for a 205 > response: a) indicate a zero-length body for the response by > including a Content-Length header field with a value of 0; b) > indicate a zero-length payload for the response by including a > Transfer-Encoding header field with a value of chunked and a message > body consisting of a single chunk of zero-length; or, c) close the > connection immediately after sending the blank line terminating the > header section. rack itself has no control over c), but should leave options a) and b) available for middleware and application authors. https://tools.ietf.org/html/rfc7231#section-6.3.6 The older RFC 2616 text was vague and not specific about what a server should do: https://tools.ietf.org/html/rfc2616#section-10.2.6 I noticed this from Plack: https://metacpan.org/pod/Plack::Util This reverts commit 2c5b076aaba6c83ffce8c6c2b5c49085c1abb5a5.
2016-12-08Merge pull request #1135 from tonytonyjan/patch-rdoc
Add rdoc dependency
2016-12-08add rdoc dependency
2016-12-07Merge pull request #1133 from tonytonyjan/patch-typo
fix typo
2016-12-07Merge pull request #1132 from tonytonyjan/patch
typo fix
2016-12-07fix typo
2016-12-06typo fix
2016-12-05Merge pull request #1130 from tonytonyjan/patch
To support minitest 6 and prevent error message from minitest 5.
2016-12-05To support minitest 6 and prevent error ouput in minitest 5, use ↵
`must_be_nil` if expecting nil.
2016-11-28Merge pull request #1128 from dijonkitchen/patch-1
Change NEWS file into Markdown file extension
2016-11-27Change NEWS file into Markdown file extension
This way GitHub will render it correctly in browser.
2016-11-25Merge pull request #973 from mwpastore/master
Update example use of Rack::Deflater
2016-11-10Merge pull request #1080 from sophiedeziel/master
Prevent exception caused by a race condition on multi-threaded servers
2016-11-04webrick: detect partial hijack without hash headers
Response headers need not be a hash according to SPEC, so grab the io_lambda the first time we iterate through the headers and avoid an extra hash lookup.
2016-11-04Merge pull request #1125 from yannvanhalewyn/improve-fetch-on-session-hash
Improve and test SessionHash#fetch
2016-11-02Add test for fetching unknown keys without defaults
2016-10-24Improve and test SessionHash#fetch.
2016-10-08Fix warnings and usage of $VERBOSE
The correct global variable is called $VERBOSE, not $verbose. Fixed #1116
2016-09-28Merge pull request #1115 from Shopify/fix-multipart-parsing-with-null-byte
Handle NULL byte in multipart file name
2016-09-28Handle NULL byte in multipart file name
2016-09-27updating author / email
2016-09-10Merge pull request #1110 from kirs/patch-1
Freeze default session options
2016-09-09Freeze default session options
Some code in my app have been accidentally mutating the default session options, which broke some session behaviour. It wasn't easy to track that down, so I'd like to suggest that we freeze this hash to avoid mutation.
2016-07-26deflater: remove "deflate" encoding support no-deflate
This will improve cache hit rates and reduce caching overhead at small expense of increased header overhead for some user agents. For reference, Varnish cache supports only gzip as well: https://www.varnish-cache.org/docs/4.1/phk/gzip.html In the past, "deflate" encoding was more likely to trigger user-agent bugs, as noted in the comments removed with this change as well as the Varnish documentation referenced above.
2016-06-30bumping to 2.0.1 to work around Rack 2.0.1
2016-06-30Merge pull request #1011 from mperham/patch-1 2.0.0
Remove json gem
2016-06-30bump version to 2.0.0
2016-06-30Merge pull request #1089 from matthewd/params-new-array
Try harder when deciding whether to add a new array element