• 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: Jens Alfke <email@hidden>
  • Date: Mon, 02 Dec 2013 08:48:50 -0800


On Dec 2, 2013, at 1:21 AM, Kevin Yu <email@hidden> wrote:

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

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

  • Prev by Date: Re: CFHTTPMessageAddAuthentication problem
  • Next by Date: Re: A NSOutputStream vs. native socket question
  • Previous by thread: Re: CFHTTPMessageAddAuthentication problem
  • Next by thread: Re: CFHTTPMessageAddAuthentication problem
  • Index(es):
    • Date
    • Thread