Skip to content

Turning off compression when Perlbal X-Reproxy-Url header set#5

Open
mjemmeson wants to merge 1 commit intoplack:masterfrom
mjemmeson:master
Open

Turning off compression when Perlbal X-Reproxy-Url header set#5
mjemmeson wants to merge 1 commit intoplack:masterfrom
mjemmeson:master

Conversation

@mjemmeson
Copy link
Copy Markdown

Hi Miyagawa,
Small patch for P::MW::Deflater - would something like this be useful or is it too specific?
it's required when using MogileFS and Perlbal for example. Without it, the Content-Encoding header is not unset by Perlbal, and browser fails (has Content-Encoding set, but non-zipped body).
thanks,
Michael

@kazeburo
Copy link
Copy Markdown
Collaborator

Hi mjemmeson.
In this case, you can use psgix.no-compress enviroment value for turning off commpression.
psgix.no-compress and psgix.compress-only-text/html are supported from version 0.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants