• 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: Does CFHTTPMessageAddAuthentication support digest auth?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does CFHTTPMessageAddAuthentication support digest auth?


  • Subject: Re: Does CFHTTPMessageAddAuthentication support digest auth?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 15 Jul 2015 10:00:20 -0700


On Jul 15, 2015, at 4:54 AM, Quinn The Eskimo! <email@hidden> wrote:

One thing to note is that the current beta OSes have NSURLSessionStreamTask, and you can convert a data task into a stream task via the NSURLSessionResponseBecomeStream (and from there capture the streams from the stream task to get an NS{Input,Output}Stream pair).  I /think/ that allows you to implement WebSockets very easily, although I must admit that I haven't tested this stuff myself yet.

Oh wow, that’s really interesting! It must have been mentioned in a WWDC session I missed, or not at all. (Didn’t see it in the Foundation release notes, either.)

From the doc-comment it does sound like this gives direct access to the socket without any funny business about chunk encoding, which implies it would work for WebSockets…

I’ll have to try it out in a year or two, when I can consider abandoning iOS 8 / Yosemite support :-/

—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

References: 
 >Re: Does CFHTTPMessageAddAuthentication support digest auth? (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Does CFHTTPMessageAddAuthentication support digest auth? (From: Jens Alfke <email@hidden>)
 >Re: Does CFHTTPMessageAddAuthentication support digest auth? (From: email@hidden)
 >Re: Does CFHTTPMessageAddAuthentication support digest auth? (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: Does CFHTTPMessageAddAuthentication support digest auth?
  • Previous by thread: Re: Does CFHTTPMessageAddAuthentication support digest auth?
  • Next by thread: Re: Does CFHTTPMessageAddAuthentication support digest auth?
  • Index(es):
    • Date
    • Thread