Re: CFHTTPMessageAddAuthentication problem
Re: CFHTTPMessageAddAuthentication problem
- Subject: Re: CFHTTPMessageAddAuthentication problem
- From: Kevin Yu <email@hidden>
- Date: Tue, 03 Dec 2013 08:35:35 +0800
Ha, this is a proprietary way to communicate between server and app, just use HTTP message to achieve the goal; I think it is similar to the concept of WebSocket (http://en.wikipedia.org/wiki/WebSocket) you can say it is worse but someone (not me) think it is advance.
I don’t think it will work; because after NSURLConnection complete authentication, the server use the same connection to send the POST {scratching-record noise}
Wait, what? It can’t do that. That’s a complete violation of HTTP. You’re saying that the server sends back a response, and then immediately sends an HTTP request line over the same socket?! I’ve seen some weird misuses of HTTP, but this is even worse...
Sorry, I’m just having trouble believing this is real. Are you _sure_ you’re not misunderstanding how this server operates? What exactly is this thing you’re trying to connect to?
—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