Bug#818633:

2016-03-20 Thread Brad Fitzpatrick
Ah, thanks for the explanation. That makes much more sense now. In that case, the fix seems correct. The Reason-Phrase has been removed in HTTP/2, so it makes sense that curl that doesn't invent one in its textual output.

Bug#818633:

2016-03-19 Thread Romain Francoise
Hi Brad, On Sat, Mar 19, 2016 at 12:39:36AM +0100, Brad Fitzpatrick wrote: > In any case, I can't understand how this bug report is possible and the > suggested fix in this bug does not seem correct. HTTP/2 never contains the > string "HTTP/2.0". It's a binary protocol. Even in unencrypted "h2c" m

Bug#818633: approx: fails to connect to HTTP/2 servers

2016-03-18 Thread Romain Francoise
Package: approx Version: 5.5-2 Severity: normal The dl.google.com server (which serves Debian packages of Google Chrome) supports HTTP/2 and replies to the initial HTTP request with a status of "HTTP/2.0 200", which omits the traditional reason phrase "OK". This trips a regular expression in appro