W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 2000

Re: Combining multiple message-header fields

From: Life is hard, and then you die <ronald@innovation.ch>
Date: Sat, 15 Jul 2000 12:39:55 -0700
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: http-wg@hplb.hpl.hp.com
Message-ID: <20000715123955.A374@innovation.ch>
On Sat, Jul 15, 2000 at 05:44:40PM +0200, Bjoern Hoehrmann wrote:
> I'm building a HTTP UserAgent with PHP and now i'm dealing with this multiple
> message-header fields. If my UserAgent receives such multiple fields, should
> it combine these fields into one or should it keep the multiple fields and
> send it to the server (if present in a request)? The problem behind this is
> the storage of this header fields. Currently i have an associative array that
> does something like

Combining multiple header fields works just fine, with one exception: the
Set-Cookie header field. Some browsers don't handle multiple cookies in a
Set-Cookie header field (i.e. they require a separate header field for each
cookie to be set). Furthermore, because a number of sites use broken cookies
which contain commas in the value, parsing a combined Set-Cookie header field
can be a little tricky.


Received on Saturday, 15 July 2000 20:43:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:24 UTC