Re: WSMethodInvocationInvoke & Basic Authentication
Re: WSMethodInvocationInvoke & Basic Authentication
- Subject: Re: WSMethodInvocationInvoke & Basic Authentication
- From: Greg Titus <email@hidden>
- Date: Thu, 13 Mar 2003 09:02:06 -0800
On Thursday, March 13, 2003, at 07:45 AM, petite_abeille wrote:
There is something like WSMethodInvocationSetProperty with
kWSHTTPExtraHeaders which could perhaps be used to set the
Authorization header manually... but I cannot find any Base64 encoder
anywhere to encode the authorization value. Is there a Base64 encoder
in Cocoa/Carbon somewhere?
For the record: setting the kWSHTTPExtraHeaders does the trick. But
still no Base64 encoder to be found anywhere... sigh...
OmniFoundation includes a base64 encoder/decoder in NSData-OFExtensions:
+ (id)dataWithBase64String:(NSString *)base64String;
- initWithBase64String:(NSString *)base64String;
- (NSString *)base64String;
Hope this helps,
- Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.