[occi-wg] HTTP Header Serialization Format, use of Attribute header

Edmonds, AndrewX andrewx.edmonds at intel.com
Mon Aug 16 09:19:05 CDT 2010


Cheers Ralf :-)

As we use '.' as a character to denote namespace delineation we should also add this to the list of separators, incl. 2616.

Andy

-----Original Message-----
From: Ralf Nyren [mailto:ralf at nyren.net] 
Sent: Monday, August 16, 2010 3:12 PM
To: Andy Edmonds
Cc: Edmonds, AndrewX; occi-wg at ogf.org
Subject: Re: [occi-wg] HTTP Header Serialization Format, use of Attribute header

Andy,

I continue this thread to discuss your comments in the wiki. Cut-n-paste  
 from wiki:

"HTTP header field values which contain separator characters MUST be  
properly quoted according to RFC 2616.

Is this necessary? It could be assumed that the value of the header is the  
text immediately following the '=' character.
Would be useful to have a list of these separator characters"

Yes, it is necessary. If you have an attribute containing a comma (",")  
you would break the comma-separated list representation of HTTP header  
field values.
According to RFC2616 the following two examples are be equivalent.

Attribute: foo="bar,foo"
Attribute: key=value

Attribute: foo="bar,foo", key=value

The list of separators are specified in RFC2616.

regards, Ralf
-------------------------------------------------------------
Intel Ireland Limited (Branch)
Collinstown Industrial Park, Leixlip, County Kildare, Ireland
Registered Number: E902934

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the occi-wg mailing list