Forum: NGINX Range request not working for gzipped content

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.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 badtzhou (Guest)
on 2014-08-22 21:10
(Received via mailing list)
I found that whenever Content-Encoding: gzip is on. Nginx will return
200
instead of 206. When gzip is off, nginx will return range request
normally.

Is that the expected behavior for nginx?

Thanks
Don

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252767,252767#msg-252767
40b4c848b8fcd63b0cb60b9d170c3a77?d=identicon&s=25 Valentin V. Bartenev (Guest)
on 2014-08-23 01:44
(Received via mailing list)
On Friday 22 August 2014 15:10:03 badtzhou wrote:
> I found that whenever Content-Encoding: gzip is on. Nginx will return 200
> instead of 206. When gzip is off, nginx will return range request normally.
>
> Is that the expected behavior for nginx?
>

Yes.

See here for explanation:
http://mailman.nginx.org/pipermail/nginx/2011-June...

  wbr, Valentin V. Bartenev
This topic is locked and can not be replied to.