• 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 only works once?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFHTTPMessageAddAuthentication only works once?


  • Subject: Re: CFHTTPMessageAddAuthentication only works once?
  • From: Jeremy Wyld <email@hidden>
  • Date: Thu, 10 Feb 2005 10:49:32 -0800


On Feb 10, 2005, at 10:38 AM, Miro Jurišić wrote:

In this manner, yes. Effectively, the first bad password caused an invalidation of the underlying structures which CFHTTPMessageAddAuthentication uses.

Well, that completely defeats the point, doesn't it? It seems like the main benefit of CFHTTPMessageAddAuthentication is that I don't have to recreate the HTTPMessage from scratch (and I really like this; I appreciate not having to track down all the properties and flags I set on the original message when I need to prompt for a password), but now I have to write code to recreate it from scratch anyway... I'll be filing a bug on this.



You should look at the new CFHTTPAuthentication API's in Tiger. This is exactly why they've been created.


Assuming there is nothing I can call on the message to make CFHTTPMessageAddAuthentication work the second time, do I have any easy way to make a fresh copy of the message, or do I have to remember all the flags and properties I set on it?

Fetch again. Again, this is why we've created the CFHTTPAuthentication API's in Tiger.


jeremy


_______________________________________________ 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 only works once?
      • From: Miro Jurišić <email@hidden>
References: 
 >CFHTTPMessageAddAuthentication only works once? (From: Miro Jurišić <email@hidden>)
 >Re: CFHTTPMessageAddAuthentication only works once? (From: Jeremy Wyld <email@hidden>)
 >Re: CFHTTPMessageAddAuthentication only works once? (From: Miro Jurišić <email@hidden>)

  • Prev by Date: Re: CFHTTPMessageAddAuthentication only works once?
  • Next by Date: Re: CFHTTPMessageAddAuthentication only works once?
  • Previous by thread: Re: CFHTTPMessageAddAuthentication only works once?
  • Next by thread: Re: CFHTTPMessageAddAuthentication only works once?
  • Index(es):
    • Date
    • Thread