discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableRequest fails when setting cookies


From: Richard Frith-Macdonald
Subject: Re: NSMutableRequest fails when setting cookies
Date: Tue, 1 Feb 2011 17:10:06 +0000

On 31 Jan 2011, at 21:14, davbeck wrote:

> 
> Using the following code with an NSMutableRequest causes it to hang.
> 
>      [request setHTTPShouldHandleCookies:NO];
>      [request addValue:_cookieString forHTTPHeaderField:@"Cookie"];
>      NSURLResponse* response;
>      NSError* error;
>      NSData* data = [NSURLConnection sendSynchronousRequest:request
> returningResponse:&response error:&error];

 Could you please provide a complete program demonstrating the problem so that 
we can try to run it under debug and see what's going on... from an incomplete 
snippet of code we can't really tell.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]