75c20c5c4f
Update to ruby-rack-contrib to 2.2.0. 2.2.0 (2020-03-31) A healthy crop of fixes and new features in this release. Thanks to everyone who contributed, and welcome to Andrew Konchin, as the newest recipient of a commit bit. * New middleware Rack::JSONBodyParser: a better-designed replacement for Rack::PostBodyContentTypeParser, with a more appropriate name (given that they both only handle JSON natively, having JSON in the name seems like a good idea), and with a better set of default behaviours and knobs. It is also significantly faster than PostBodyContentTypeParser. * Rack::PostBodyContentTypeParser: this middleware's interface is a bit of a mess, which makes it nearly impossible to improve in a backwards-compatible manner. As a result, its use has been deprecated, in favour of Rack::JSONBodyParser. * Several middlewares that set Content-Length headers were fixed to use String#bytesize, instead of String#size, which makes multibyte characters much happier. (Chris Frank) * Rack::ResponseCache: Make header detection case-insensitive. (Chris Frank) * A lot of broken tests and deprecation warnings in the test suite were fixed. (Andrew Konchin) * Rack::Locale: significant correctness fixes, including q=0 handling, case insensitivity where appropriate, and better handling of whitespace. (Andrew Konchin) * Rack::StaticCache: several correctness fixes, such as setting a Date response header, use UTC in timestamps, and improving the robustness of the date rendering. Share and enjoy! |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |