rack-brotli icon indicating copy to clipboard operation
rack-brotli copied to clipboard

Brotli compression for Rack responses

Results 5 rack-brotli issues
Sort by recently updated
recently updated
newest added

See https://github.com/cyu/rack-cors/issues/251 just omitting the line ```ruby headers = Rack::Utils::HeaderHash.new(headers) ``` in `lib/rack/brotli/deflater.rb ` will fix this as it's not needed anymore.

I know this was addressed in #10 but I had a lot of bugs as well as failing tests with that PR. Didn’t seem like a lot of work so...

According to [this](https://caniuse.com/brotli)

in application.rb add "config.middleware.use Rack::Brotli" directly under "config.middleware.use Rack::Deflater" to get it to work. Why would the readme not have the most (or at least one of the most) configurations...