discuss-gnustep
[Top][All Lists]
Advanced

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

NSMutableRequest fails when setting cookies


From: davbeck
Subject: NSMutableRequest fails when setting cookies
Date: Mon, 31 Jan 2011 13:14:54 -0800 (PST)

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];
-- 
View this message in context: 
http://old.nabble.com/NSMutableRequest-fails-when-setting-cookies-tp30810818p30810818.html
Sent from the GNUstep - General mailing list archive at Nabble.com.




reply via email to

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