Able to send Multiple HTTP Requests but unable to get response of those HTTP request on TCP socket created #85

Anshumakkar opened this Issue Mar 7, 2013 · 1 comment


None yet
2 participants

I want to send an HTTP request to HTTP server and then after getting successful response I want to upgrade connection to upgrade if the response is bad in previous request I do not want to upgrade the connection. The scenario is as
1.Open TCP socket
3.If the response is 202, we will send a HTTP request to upgrade the connection to web socket
4. The response code expected is 101(Response phrase-SWITCHING PROTOCOLS)
but the response obtained is null.

I've observe the traces on Wireshark on server and client side. THe server is sending 101/Switching Protocols and on i-Mac the response is 101 on wireshark but in simulator it is not 101 it is 200 with response null.

Please help


This comment has been minimized.

Show comment Hide comment

mikelikespie Jul 24, 2015


Please elaborate.


mikelikespie commented Jul 24, 2015

Please elaborate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment