curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Disallow HTTP/0.9 ?

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 19 Dec 2018 11:14:53 +0100 (CET)

On Tue, 18 Dec 2018, Daniel Gustafsson wrote:

> +1 for highlighting it as deprecated and switching to an opt-in model in 6
> months, there is AFAIK no rush to implement this but it may well break
> existing code out there.

I've updated my PR to now take this approach.

  - it adds a command line option and a setopt option to allow HTTP/0.9
  - the new options can be used from 7.64.0 so users can start to opt-in
    already then
  - both the tool and the library continue to allow it by default
  - 6 months after 7.64.0 we switch off the default acceptance and users then
    must opt-in to keep using HTTP/0.9
  - this is all mentioned in docs/DEPRECATE.md

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-12-19