> On Mar 14, 2017, at 4:29 PM, Thibault Martin-Lagardette 
> <thibault...@gmail.com> wrote:
> 
> - Constructing and parsing HTTP messages can be done with 
> CFHTTPMessageCreateRequest/Response
> - Stream tasks do handle SSL for you (with -startSecureConnection)
> - Stream tasks handle proxies but only SOCKS :-( — I've filled a bug to 
> request HTTP proxies, if you go that route, you should too.

Yup, I already use CFHTTPMessage for other stuff. I discovered the SSL and 
proxy support right after sending my email. *facepalm*

> - Stream tasks do handle auth challenges via NSURLSession's delegate, and its 
> own delegate as well

The only kind of auth challenges I imagine they can support are SSL server 
trust and client certs. Other auth is at the HTTP level, but a task opened as a 
stream isn’t doing any HTTP parsing. So that means no HTTP Basic or Digest 
auth, or cookie-based sessions, or OAuth, etc.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to