Re: Editorial: ALTSVC HTTP/2 Frame.

On 2015-01-08 17:46, Martin Thomson wrote:
> On 8 January 2015 at 08:22, Julian Reschke <julian.reschke@gmx.de> wrote:
>> It can contain what the header field contains, and that allows specifying
>> the authority (uri-host and port).
>>
>> Am I missing something?
>
> It would seem so.
>
> The header field doesn't contain origin information because that is
> derived from the request.  The header field says: "for requests to
> *the origin of this request*, please send here: list of service
> endpoint tuples"; when the frame is sent on stream 0, it lacks that
> context.
>
> I suggest that you define the frame as length (sadly, 255 bytes isn't
> long enough to hold the longest conceivable origin string) plus origin
> plus the remainder being exactly the same as the Alt-Svc header field.

I see. Thanks for the explanation.

An alternative would be to put it into an "o" parameter (to be ignored 
in the header field). Or resurrect draft-reschke-http-jfv and switch to 
JSON...

Best regards, Julian

Received on Thursday, 8 January 2015 17:04:51 UTC