• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFHTTPMessageAddAuthentication problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?  

---
regards,
KC

Jens Alfke <email@hidden> 於 2013/12/2 下午4:00 寫道:


On Dec 1, 2013, at 6:12 PM, Kevin Yu <email@hidden> wrote:

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

  • Follow-Ups:
    • Re: CFHTTPMessageAddAuthentication problem
      • From: Jens Alfke <email@hidden>
References: 
 >Re: CFHTTPMessageAddAuthentication problem (From: Kevin Yu <email@hidden>)
 >Re: CFHTTPMessageAddAuthentication problem (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: CFHTTPMessageAddAuthentication problem
  • Next by Date: Re: CFHTTPMessageAddAuthentication problem
  • Previous by thread: Re: CFHTTPMessageAddAuthentication problem
  • Next by thread: Re: CFHTTPMessageAddAuthentication problem
  • Index(es):
    • Date
    • Thread