Question about NSURLRequest
Question about NSURLRequest
- Subject: Question about NSURLRequest
- From: tiennou <email@hidden>
- Date: Thu, 4 Oct 2007 17:20:01 +0200
Hi !
I'm trying to implement reading ldap:// into the URL loading system.
I've gotten to the point where I need to choose between starting SSL/
TLS, doing a simple bind, or doing an SASL bind.
Now I'm planning to use the mechanism in NSURLRequest that allow to
set protocol-specific information, so that I can choose between a
simple bind or SASL (SSL/TLS is used when I get an ldaps:// URL), and
so two questions rose in my mind :
Why do there is a mutable subclass : If I'm forced to create a
mutable subclass everytime I need to change my settings, why separate
them ? Also I guess it could be better to handle specific protocols
by subclassing from NSURLRequest ?
Is there something I'm getting wrong ? I find the documentation on
the URL loading system a little scarce...
Etienne Samson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden