body decoding

Valery Kholodkov valery+nginxen at
Fri Jan 23 16:13:21 MSK 2009

As far as I know, yes, nginx always operates on original proxied response body. 

----- Pavel Ivashkov <sup6542 at> wrote:
> Hello all,
>   I didn't find this in documentation or in the maillist archive, so
>   any comments appreciated.
> >  Am I correct that nginx does not decode server response, and in the
> >  case of sub_filter it tries to operate on encoded content?
> >  (There are two encodings I'm aware of - Content-Encoding and
> >  Transport-Encoding.)
> >  If no, what are the configuration steps to decode body before
> >  sub_filter?
> >  If yes, what can impede me in creating my own decoding filter - are
> >  there any architectural constraints, did anyone try that?

Valery Kholodkov

More information about the nginx mailing list