W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2015

Re: Invalid HTTP2 preface handling?

From: Mark Nottingham <mnot@mnot.net>
Date: Wed, 11 Feb 2015 22:45:48 +1100
Cc: Greg Wilkins <gregw@intalio.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <487B2856-0BF9-4114-96A8-57263C3EC6B8@mnot.net>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>

> On 11 Feb 2015, at 7:01 pm, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>> I'm wondering what would be the problem if on an invalid preface, the
>> server check if it is actually a valid HTTP/1 request and if so, then to
>> proceed on that basis?
> If by "proceed" you mean "Send back a HTTP/1 response that will
> help people at the far end diagnose the problem and then close",
> you'll be fine.  Anything more ambitious is on shaky ground.

Makes sense — and sounds like a perfect use of 505 HTTP Version Not Supported.

Mark Nottingham   https://www.mnot.net/
Received on Wednesday, 11 February 2015 11:46:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:43 UTC