[ruby-core:73856] Re: [Ruby trunk Bug#12055] `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header

From: Matthew Kerwin <matthew@...>
Date: 2016-02-16 22:04:31 UTC
List: ruby-core #73856
On 17/02/2016 1:40 AM, <ggcampinho@gmail.com> wrote:
>
> Issue #12055 has been updated by Glauber Campinho.
>
>
> ping
>

This should be rejected.

Content Encoding is applied by the server *before* Range; and therefore
must be applied by the client *after* Range. (This is true for all range
units, not just bytes.)

So you can't automatically inflate *any* partial response.

The current implementation looks correct.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next