-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm POST'ing a small image, so i'd like the timeout interval to be short. If the image doesn't send in a few seconds, it's probably never going to send. For some unknown reason my NSURLConnection is never failing, no matter how short I set the timeoutInterval.
// Create the URL request
NSMutableURLRequest…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I send HTTP post request to a server, but the server response is "Missing parameter: myHeader".
myHeader is the header that i put.
But everything is look ok in my part, so this is really weird.
help will be great
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I create NSMutableUrlRequest for sending data to server, add all necessary fields to it and then add the string for sending like this:
[theRequest setHTTPBody:[postString dataUsingEncoding: NSUTF8StringEncoding]];
postString is a usual NSString.
The problem is, when I receive this request at the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I won't bother posting any code because my code works fine when I launch Safari or something that turns on the 3G connection first.
When I put it Airport mode, then put back OFF, I will get the behavior of a connection error saying No internet connection with NSMutableURLRequest. I've personally…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I won't bother posting any code because my code works fine when I launch Safari or something that turns on the 3G connection first.
When I put it Airport mode, then put back OFF, I will get the behavior of a connection error saying No internet connection with NSMutableURLRequest. I've personally…
>>> More