W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2016

Re: New Version Notification for draft-kazuho-early-hints-status-code-00.txt

From: Mark Nottingham <mnot@mnot.net>
Date: Tue, 8 Nov 2016 16:58:33 +1100
Cc: Martin Thomson <martin.thomson@gmail.com>, Kazuho Oku <kazuhooku@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <6F4A4B4E-9AC8-4CE6-B990-EE2EA229EDB5@mnot.net>
To: Mike Bishop <Michael.Bishop@microsoft.com>
I think if we focus on the "hints" part of the 1xx's semantics, it helps clarify those decisions. I.e., nothing you get in that message is something you can depend upon when interpreting the final response; it's just information you can use for optimisation.

> On 8 Nov. 2016, at 5:15 am, Mike Bishop <Michael.Bishop@microsoft.com> wrote:
> Compare to including differing headers between a 200 and a 304, for example -- the RFC says that servers SHOULD NOT emit headers that change the interpretation of the cached content, but that clients MUST merge in any headers the server chooses to emit.  But in practice, every browser has a list of headers it won't let the server change its mind about, and will ignore the server if it tries.  Allowing contradictory information here runs into the same effective problem.
> -----Original Message-----
> From: Martin Thomson [mailto:martin.thomson@gmail.com] 
> Sent: Monday, November 7, 2016 1:03 AM
> To: Mark Nottingham <mnot@mnot.net>
> Cc: Kazuho Oku <kazuhooku@gmail.com>; HTTP Working Group <ietf-http-wg@w3.org>
> Subject: Re: New Version Notification for draft-kazuho-early-hints-status-code-00.txt
> On 7 November 2016 at 18:40, Mark Nottingham <mnot@mnot.net> wrote:
>> In retrospect, it's a bit of a shame that we have this requirement in H2: "All pseudo-header fields MUST appear in the header block before regular header fields." If not for that, we could send an "early" HEADERS followed by the :status etc. in a CONTINUATION.
> I don't think that this is a problem.  I mean, for requests it means that routing based on the URL can happen without arbitrary buffering.
> That we also did it for responses is perhaps unnecessary, but it's a little bit of certainty and opening the door for progressive generation of headers also opens the door to new classes of ambiguity as well.  Especially since we still allow individual header fields to come in piecemeal.  I think that I prefer Kazuho's approach.
> The progressive response means that this is OK for progressive things.
> I wouldn't want to see a server change its mind about something; content-type might be hazardous, for example.

Mark Nottingham   https://www.mnot.net/
Received on Tuesday, 8 November 2016 05:59:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 8 November 2016 05:59:09 UTC