开发者

HTTP response problem in blackberry real device

开发者 https://www.devze.com 2022-12-18 22:08 出处:网络
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)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消