HTTP/2 plaintext upgrade

I’ve got a question about HTTP/2 plaintext upgrade. RFC 7540 Section 3.2.1 says about the HTTP2-Settings header field:

> The content of the HTTP2-Settings header field is the payload of a SETTINGS frame

My initial implementation provided an entire SETTINGS frame in the HTTP2-Settings field, but a contributor has pointed out that the word “payload” may mean that only the body of the SETTINGS frame should be provided. It’s not really entirely clear to me in the text which I should do, and there are no textual examples either, so I’m genuinely not sure.

Can I get an idea of what other implementers have done here?

Cory

Received on Thursday, 26 January 2017 10:14:06 UTC