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

Padding should be specified for PUSH_PROMISE frames too?

From: Jonathan Thackray <jthackray+http2@gmail.com>
Date: Wed, 2 Apr 2014 16:04:40 +0100
Message-ID: <CANdy_d-woDvn_DTATG0WV-6Ba3ABK73S3xrC3-d8c7yrKqQDAg@mail.gmail.com>
To: ietf-http-wg@w3.org
Hi,

I'm currently writing an implementation of the HTTP/2 draft 10
specification. I was
puzzled that (optional) padding is specified for HEADERS and CONTINUATION
frames (because they contain header block fragments, to obscure the message
length), but the PUSH_PROMISE frame format, which also contains header block
fragments, doesn't allow arbitrary padding.

As the draft currently stands, you can only send a PUSH_PROMISE frame
without
any padding for the first header block fragment, then subsequent
CONTINUATION
frames containing additional header block fragments with padding.

Is this an oversight? Surely it should have padding as well, to be
consistent.
Or is this because headers sent from the server are not considered deserving
of padding to obscure their length (and possible contents)? I couldn't see
this
listed on the "issues" page on GitHub, so raising this issue here.

Many thanks,
Jonathan.
Received on Wednesday, 2 April 2014 15:05:07 UTC

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