I have been using ASIHTTPRequest to do a simple POST upload of a “Scores and Settings” xml file to my server on an iOS game. As of iOS 5, ASIHTTPRequest is having some issues, and as mentioned here the library has been abandoned.
My question: What actually broke in iOS 5? I have looked at the other options for doing HTTP connections and uploading and they look heavy-hitting and a bit difficult compared to the ASI lib. If possible, I’d like to fix it, but I can’t seem to figure out why it’s not working. I just get:
[STATUS] Request Failed.
[STATUS] Starting asynchronous request.
Weird that the “Failed” line prints first, eh?
I have tried the suggestions at iOS 5 : https ( ASIHTTPRequest) stop working as well.
I presume the server you’re having a problem with is https?
The main change is explained here:
http://developer.apple.com/library/ios/#technotes/tn2287/_index.html#//apple_ref/doc/uid/DTS40011309
However you say you’ve already the solutions that would fix problems related to this.
There are some more suggestions here:
https://github.com/pokeb/asi-http-request/issues/273
In particular:
Does the same server work okay in Safari on the same device?