Hello,
I'm having an issue with setting two headers for my NSURLRequest:
[theRequest setValue: [NSString stringWithFormat:@"/principals/
__uids__/%@/\r\n",self.userGUID] forHTTPHeaderField:@"Originator"];
[theRequest setValue: [NSString stringWithFormat:@"/principals/
__uids__/%@/\r\n",roomGUID] forHTTPHeaderField:@"Recipient"];
When I send the request they don't appear in the headers and the
server fails to respond correctly as they are required headers. I
also tried addValue:forHTTPHeaderField, with the same result.
If I set them without the NSString (@"string...") it works fine. Am I
missing something here?
Thanks!
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]