Java中,并代理设置影响接收到的数据? [英] Java, does proxy setting affect received data?

查看:211
本文介绍了Java中,并代理设置影响接收到的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问一个问题,关于如何绕过Web代理服务器设置?


但是,我没有得到我想要的回应。因此,我想改变我的问题。

I'd asked a question about How to bypass Web Proxy setting?

However, i didn't get my desired response. Therefore, I want to change my question.

我的问题是,当我设置代理冲浪互联网(这是由移动3G运营商自动设置),我不能得到正确的数据。正确的数据是XML格式的,而我把它裹在HTML code。我不知道这个HTML来自哪里! 服务器返回XML数据而不是HTML code,由服务器端程序员提及。

My question is, when i set proxy for surfing Internet (this is set automatically by mobile 3g operator), I can't get correct data. Correct data is in XML format while I get it wrapped in HTML code. I have no idea this HTML comes from where! "Server returns XML data not HTML code", as mentioned by server side programmer.

我真糊涂这里发生了什么?

I really confused what is happening here?


  • 应用程序正常工作时,其通过WiFi连接到互联网上(我想它的工作,因为代理并不适用于它)

  • 应用并不仅仅与一些有限的类型的装置(例如,同时应用在SGS作品它不与的Xperia neo和SG2工作)工作。所有这些设备都连接到同一个移动运营商。

什么是你的主意吗?你有没有遇到这个问题之前?任何建议将AP preciated。

What is you idea? Did you face with this problem before? Any suggestion would be appreciated.

推荐答案

有一种可能性,即该请求是由被注入的广告或类似的东西的代理操纵。你也许可以捕获响应,看看发生了什么变化?

There is a possibility that the request is being manipulated by the proxy which is injecting ads or something similar. Could you perhaps capture the response and see what has changed?

东西可以尝试是使安全连接的请求,这样,该代理不应当能够修改响应的内容。

Something you could try is to make the request of a secure connection, that way the proxy should not be able to modify the content of the response.

这篇关于Java中,并代理设置影响接收到的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆