Re: PUSH_PROMISE associated stream

Hi Daniel,

I believe the associated stream ID of PUSH_PROMISE is conveyed as the
stream ID in the common frame
header<http://http2.github.io/http2-spec/#FrameHeader>
.


On Mon, Mar 10, 2014 at 5:46 PM, Daniel Sommermann <dcsommer@fb.com> wrote:

>  From 6.6 PUSH_PROMISE:
>
> PUSH_PROMISE frames MUST be associated with an existing, peer-initiated
> stream. If the stream identifier field specifies the value 0x0, a recipient
> MUST respond with a connection error (Section 5.4.1<http://http2.github.io/http2-spec/index.html#ConnectionErrorHandler>)
> of type PROTOCOL_ERROR<http://http2.github.io/http2-spec/index.html#PROTOCOL_ERROR>
> .
>
> Is this a vestigial carry-over from SPDY? I don't see an
> "Associated-To-Stream-ID" field in PUSH_PROMISE. At first glance, it looks
> like HTTP/2 does away with requirement that a pushed resource be associated
> with a client-initiated stream.
>

Received on Monday, 10 March 2014 22:17:28 UTC