i am doing a simple http request to the server and server is returning 0 problem is that
on simulator i am getting "0" (expected)
and on real device i am getting "text/ht开发者_如何学Pythonml ||||| |||||, <|||||0" (unwanted response)
am i missing something?
That depends. Are you accessing the HTTP server via BES or BIS? If so then you need to be aware that the device does not actually establish an HTTP connection to the server, the BES or BIS does that on behalf of the device. It does some other helpful things that may not be expected.
精彩评论