Re: Can't set header on NSURLRequest

2009-06-02 Thread Doug Knowles
Hi, Chris, I had a similar problem the other day. Are you using an NSMutableURLRequest? Doug K; On Tue, Jun 2, 2009 at 2:44 AM, Chris wrote: > Hello, > > I'm having an issue with setting two headers for my NSURLRequest: > >[theRequest setValue: [NSString > stringWithFormat:@"/principa

Re: Can't set header on NSURLRequest

2009-06-02 Thread Andrew Farmer
On 1 Jun 2009, at 23:44, Chris wrote: 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 stringWithForma

Can't set header on NSURLRequest

2009-06-01 Thread Chris
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__/%@/\