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

RE: trailers and pseudo-headers

From: <K.Morgan@iaea.org>
Date: Wed, 2 Jul 2014 13:34:24 +0000
To: <julian.reschke@gmx.de>, <phk@phk.freebsd.dk>
CC: <msweet@apple.com>, <mnot@mnot.net>, <ietf-http-wg@w3.org>
Message-ID: <0356EBBE092D394F9291DA01E8D28EC2011870478D@sem002pd>
>>>There are many cases where a server would say "200", and then start a

>>>complicated process that might fail half-way. In HTTP/1.1, signalling

>>>an error in this situation is hard (abort the chunked transfer or close

>>>the connection). It would be good if HTTP/2 can do better here.



I agree.



>> I thought that was what RST_STREAM was for ?

>

> Well, yes, we can say "something went wrong", but that's all.



Technically you can "say" 12 different "wrongs" with the error codes [1] (and one "no wrong").



Why not have an optional error message like the "additional debug data" in GOAWAY?



e.g.



  0                   1                   2                   3

  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|                        Error Code (32)                        |

+---------------------------------------------------------------+

|                  Additional Error Data (*)                    |

+---------------------------------------------------------------+





[1] http://http2.github.io/http2-spec/#ErrorCodes





This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system.
Received on Wednesday, 2 July 2014 13:35:08 UTC

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