ruby / webrick

HTTP server toolkit
BSD 2-Clause "Simplified" License
286 stars 97 forks source link

Body should be non-frozen by default. #103

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

This is affecting Rack v2 which appends to the response body:

https://github.com/rack/rack/blob/cd4c9f0e4befccd53c3f03ed9af8c9a9c438d0a9/lib/rack/handler/webrick.rb#L119-L121

ioquatix commented 1 year ago

Just for reference, this is the original PR that introduced frozen strings https://github.com/ruby/webrick/pull/65.