dimanche 22 janvier 2017

Rack::Deflater works if only added to config.ru

Why am I getting Error: incorrect header check when add

config.middleware.use Rack::Deflater

to class Application < Rails::Application. But don't when I add use Rack::Deflater to config.ru? I double checked: gzip works and compresses responses.

Aucun commentaire:

Enregistrer un commentaire