[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [http-state] Updated draft



On Mon, 17 Aug 2009, Adam Barth wrote:

Which, itself, would be a decision (and likely a poor decision).

If there's nothing in the spec that says which order to use, why waste more bytes than necessary on the job?

That's probably the reason why several implementations don't sort today: the cookies just happens to be kept around in memory in a particular order, and that order is then used in the Cookie: header. Or it is sorted based on some other metric.

I've browsed the Cookie: code for curl, wget, libsoup, pavuk, lftp and aria2. If I didn't miss anything, none of these cookie implementations sort the cookies as the browsers.

--

 / daniel.haxx.se

Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.