RE: Proxies, Bytes, and CFNetwork
RE: Proxies, Bytes, and CFNetwork
- Subject: RE: Proxies, Bytes, and CFNetwork
- From: "Francois Boissonneault" <email@hidden>
- Date: Fri, 11 Apr 2003 14:26:06 -0400
- Thread-topic: Proxies, Bytes, and CFNetwork
>
-----Original Message-----
>
From: Becky Willrich [mailto:email@hidden]
>
Sent: 11 avril 2003 13:39
>
Subject: Re: Proxies, Bytes, and CFNetwork
>
>
First off, you should not use CFHTTPReadStreamSetProxy() unless you
>
need compatibility to 10.1; starting with 10.2, you should call
>
CFReadStreamSetProperty() instead, passing kCFStreamPropertyHTTPProxy
>
for the property name;
Ok.. I saw somewhere that it was obsoleted but I need 10.1 support - unfortunately..
>
One caveat - even if the response has some data bytes, the response header may not be
>
complete when the first byte arrives - some (relatively rare) servers
>
include additional headers at the end of the data transmission;
So if I absolutely want to make sure I got a 401 or 407, it's possible that in certain rare case I have no choice but to wait the end of the download.. because I'm getting this information from the header.
Thanks Becky, that helped a lot...
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.