Re: CFHTTPMessage and HTTP headers
Re: CFHTTPMessage and HTTP headers
- Subject: Re: CFHTTPMessage and HTTP headers
- From: Alexey Proskuryakov <email@hidden>
- Date: Fri, 22 Apr 2005 13:31:19 +0400
On 21.04.2005 23:26, "Frederick Cheung" <email@hidden> wrote:
> I reckon the main reason for this is
> because you have a dictionary of header values (at least this is what
> is exposed to the user), and it's is much simpler if you know that the
> header names are all going to be capitalised in a certain way. You
> would want to have to go searching through the dictionary for a key
> that was the same modulo case to the header you were looking for.
I see... It indeed makes sense for replies, but I don't see a reason to
change headers for requests - after all, there can always be a
non-conforming server that doesn't know about case insensitivity. I even
vaguely remember having problems with one that required certain
capitalization of "Content-Length" (the same that CFHTTP enforces,
incidentally or not :) ).
I've filed this as rdar://4096508.
- WBR, Alexey Proskuryakov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden