views:

17

answers:

0

Hi All,

I have a piece of code that uses NSURLConnection to send a request to the server(HTTPS). The request has POST data (url parameters) attached to it using setHTTPBody. The piece of code works fine on device on GPRS data network. But, when trying on a secured WiFi network, the NSURLConnection calls delegates didRecieveResponse and connectionDidFinishLoading but no data is received.

Workaround tried=> I removed POST data (url parameters) and sent the entire URL as GET URL. And, everything works fine on WiFi too.

Is the combination of HTTPS+POST may cause some problem on WiFi? Do let me know if you have faced any similar problem before.