W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2009

wrt HTTP Origin header serialization (was Re: The HTTP Sec-From Header (draft-abarth-origin))

From: =JeffH <Jeff.Hodges@KingsMountain.com>
Date: Tue, 27 Oct 2009 16:31:50 -0700
Message-ID: <4AE782E6.1030900@KingsMountain.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
serialization rules in draft-abarth-origin wrt a "scheme/host/port tuple" yield 
a tuple looking like..


Earlier in this thread someone asked about what would happen if one 
dereferenced such a string, and the answer was (I am paraphrasing here) "don't 
do that, it isn't a URI".

However, syntactically, it *is* a URI.

I suggest that a serialized origin ought to have a syntax that is not 
syntactically a URI, e.g. pick some separator char that allows for reasonable 
parsing (i.e. won't be confused with whatever might appear in a <host> 
production (which can contain IPv4 and IPv6 address serializations)), such as 

   scheme/host/port, or
   scheme#host#port, or
   scheme?host?port, or

..i.e. the <gen-delim> values from RFC3986 that aren't included in the 
IP-literal, IPvFuture, IPv6address, reg-name, etc productions (that <host> 
depends upon).

Received on Tuesday, 27 October 2009 23:31:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:52 UTC