- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Fri, 13 Mar 2015 11:25:55 -0700
- To: Greg Wilkins <gregw@intalio.com>
- Cc: "Jason T. Greene" <jason.greene@redhat.com>, Daniel Stenberg <daniel@haxx.se>, Stefan Eissing <stefan.eissing@greenbytes.de>, Mike Bishop <Michael.Bishop@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>
On 13 March 2015 at 06:19, Greg Wilkins <gregw@intalio.com> wrote: > Failing the direct PRI approach, it would be far better to try the upgrade > on an OPTION request before commencing on the big post/put. I'd always considered it this way: Read the headers, notice that it is HTTP/2, proceed as though it were HTTP/1.1. Then, when the response is written, perform a rewrite into HTTP/2. I don't see this as impossible, and while it's ugly that the specialized code has to exist (for numerous reasons), the specific code doesn't have to be ugly if factored well.
Received on Friday, 13 March 2015 18:26:22 UTC