Forum: NGINX body decoding

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
632dc62ac1e3251311c625c09952c584?d=identicon&s=25 Pavel Ivashkov (Guest)
on 2009-01-23 13:01
(Received via mailing list)
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?
Abbd9d5312c5d54114a96a35dc94fdb1?d=identicon&s=25 Valery Kholodkov (Guest)
on 2009-01-23 14:22
(Received via mailing list)
As far as I know, yes, nginx always operates on original proxied
response body.
This topic is locked and can not be replied to.