W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2014

Re: #541: CONTINUATION

From: Michael Sweet <msweet@apple.com>
Date: Thu, 03 Jul 2014 10:29:01 -0400
Cc: Mike Bishop <Michael.Bishop@microsoft.com>, Jason Greene <jason.greene@redhat.com>, Greg Wilkins <gregw@intalio.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-id: <F912D61F-09E4-4D9A-96D0-3F490A13BC55@apple.com>
To: Matthew Kerwin <matthew@kerwin.net.au>
Right, forgot that the SETTINGS ACK doesn't contain any settings...


On Jul 3, 2014, at 10:08 AM, Matthew Kerwin <matthew@kerwin.net.au> wrote:

> 
> ​On Jul 2, 2014, at 9:20 PM, Mike Bishop <Michael.Bishop@microsoft.com> wrote:
> >
> > The real question with such an extension is the reverse direction -- does the client also advertise their maximum response header size?  What should a server do if the request a client sent produces a response the client isn't going to accept due to header size?​
> 
> I think the options are either: downgrade to 1.1, send a 4xx response, or send a 5xx response. I want to say 406, but not quite. In any case, with a 400 or 500 you can explain in plain text (or HTML) what the problem is, and maybe even how to fix it (or at least to give up); not so easy with a RST_STREAM.
> 
> 
> On 3 July 2014 23:45, Michael Sweet <msweet@apple.com> wrote:
> Based on some of the other discussions about max header sizes for proxies, and given the confusion that would ensue concerning "sent" and "received" header size settings, I would say there should just be one limit for both directions.
> 
> 
> Settings simply say "this is what I will accept." You don't have to advertise what you'll send -- just send it. If you say you're willing to receive 64K and the other guy is willing to receive 16K​, who knows, *e might send you 64K. Odds are against it, though. Whether you're upstream or downstream or it's a request or a response isn't relevant, at this level.
> ​
> 
> -- 
>   Matthew Kerwin
>   http://matthew.kerwin.net.au/

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair




Received on Thursday, 3 July 2014 14:29:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 March 2016 09:57:08 UTC