Re: Is HTTP/1.0 still relevant?

On Fri, Sep 04, 2020 at 11:02:24AM +0200, Daniel Stenberg wrote:
> On Fri, 4 Sep 2020, Willy Tarreau wrote:
> 
> > Often clients that speak 1.0 are those which want to advertise that they
> > will *not* parse chunks and will instead consume data after the empty
> > header till the end of the connection.
> 
> Good point. It is actually a fairly common pattern in curl land:
> 
>  - user wants to know the size of the transfer upfront but gets chunked
>    reposne
>  - adds option to go HTTP/1.0
>  - server then gives Content-Length: in response

They're lucky because it could perfectly just deliver the data and close!

>  - user remains using HTTP/1.0 for that use case

Sure, most of the time, once a solution appears to work, it stays forever.

Willy

Received on Friday, 4 September 2020 09:05:44 UTC