Sourced from rack's releases.
v3.0.9
What's Changed
- Fix content-length calcuation in Rack:Response#write #2150
Full Changelog: https://github.com/rack/rack/compare/v3.0.8...v3.0.9
Sourced from rack's changelog.
Changelog
All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog.
Unreleased
SPEC Changes
rack.input
is now optional. (#1997, [@ioquatix
])Rack::Utils.escape_html
is now delegated toCGI.escapeHTML
.'
is escaped to[#39](https://github.com/rack/rack/issues/39);
instead of#x27;
. (decimal vs hexadecimal) (#2099,@JunichiIto
)Changed
rack.input
is now optional, and if missing, will raise an error. Use this to fail on multipart parsing a request without an input body. (#2018, [@ioquatix
])- Introduce
module Rack::BadRequest
which is included in multipart and query parser errors. (#2019, [@ioquatix
])- MIME type for JavaScript files (
.js
) changed fromapplication/javascript
totext/javascript
(1bd0f15
)- Add
.mjs
MIME type (#2057, [@axilleas
])- Update MIME types associated to
.ttf
,.woff
,.woff2
and.otf
extensions to use mondernfont/*
types. (#2065, [@davidstosik
])set_cookie_header
utility now supports thepartitioned
cookie attribute. This is required by Chrome in some embedded contexts. (#2131, [@flavio-b
])- Remove non-standard status codes 306, 509, & 510 and update descriptions for 413, 422, & 451. (#2137, [
@wtn
])- Add fallback lookup and deprecation warning for obsolete status symbols. (#2137, [
@wtn
])- Fix incorrect content-length header that was emitted when
Rack::Response#write
was used in some situations. (#2150, [@mattbrictson
])