Re: CFHTTPMessageAddAuthentication problem
Re: CFHTTPMessageAddAuthentication problem
- Subject: Re: CFHTTPMessageAddAuthentication problem
- From: Kevin Yu <email@hidden>
- Date: Mon, 02 Dec 2013 17:21:08 +0800
I don’t think it will work; because after NSURLConnection complete authentication, the server use the same connection to send the POST; that means I need to use the same socket used by NSURLConnection function; but I did not find a way to access the socket, how can I get the data?
This is the reason that I can not use NSURLConnection, can I?
You can use NSURLConnection for the requests that you send. Then you’ll need some custom code to handle the incoming POST request, since the OS doesn’t include any HTTP server APIs.
—Jens
|
_______________________________________________
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