Forum: NGINX Range request not working for gzipped content

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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.