nsurlrequest
NSURLRequest cannot handle HTTP body when method is not POST?
Whenever I set a body on a mutable request with the method set to anything other than POST, the body is not included in the request and I get a kCFErrorDomainCFNetwork error 303 (kCFErrorHTTPParseFail[详细]
2023-01-11 12:45 分类:问答Accepted Method for Retrying URL Request in Objective-C?
I have a connection request working using the stringWithContentsOfURL:encoding:error: method from NSString. I want to be able to retry the connection if it fails the first time. I was going to rewrite[详细]
2023-01-11 09:56 分类:问答Get remote file size via HTTP without downloading said file
Any way to get the size of a (remote, http) file without actually downloading it? All other similar questions seem to revolve around grabbing the expectedContentLength from the NSURLResponse object i[详细]
2023-01-09 20:51 分类:问答Fastest way for iPhone to contact Web server just to create a log entry
I track user activity in my iPhone app by having certain user actions call an almost empty Web page that the app does nothing with. Rather, attached to the URL are some querystring paramaters that tel[详细]
2023-01-08 12:55 分类:问答Get content of webservice
I\'ve got an URL like here. When I type that into Safari\'s address bar I see an result like \"Error\" or \"OK\".[详细]
2023-01-07 20:52 分类:问答How to handle NSURLRequest HTTP error 303?
When I run my NSURLRequest in Cocoa, I get a 303 HTTP error, which is a redirect. How can I pull the proper URL to redirect to? Is it 开发者_开发百科in the error variable, or somewhere else?You might[详细]
2023-01-07 05:51 分类:问答Getting leak in leak in [NSURLConnection sendSynchronousRequest:theRequest returningResponse:nil error:nil]
I am having a leak in returnData= [NSURLConnection sendSynchronousRequest:theRequest returningResponse:nil error:nil];[详细]
2023-01-04 21:51 分类:问答NSURLConnection not "firing" until UITableView scrolls
I\'ve got a UITableView that loads an image asynchronously and places it in the UITableViewCell once it\'s loaded (I\'m using almost the exact same code as in the \"LazyTableImages\" tutorial). This w[详细]
2023-01-02 15:24 分类:问答How can I create a single HTTP Get request for iPhone?
First of all, sorry for my posibly bad english... I got a surely big stupid question... In my enterprise have an automatic door system, that is opened with a HTTP GET request to a file.开发者_如何转开[详细]
2023-01-01 10:38 分类:问答Cocoa - Is there a way to check on whether not a cache exists for a NSURLConnection?
I would like to be able to log monitor/log when a local machine cache i开发者_如何学Cs being used or when the data is being drawn from the remote source.[详细]
2023-01-01 07:40 分类:问答