问题标签 [http-proxy]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
5 回答
7987 浏览

http-headers - HTTP是无状态的,那么keep-alive是什么意思?

正如我们所知,当请求得到响应时,HTTP 连接已关闭,那么这是什么意思keep-alive,有人可以详细说明一下吗?

0 投票
1 回答
3555 浏览

node.js - Heroku Node.js node-http-proxy 模块没有此类应用程序错误

我正在尝试将流量从我的测试应用程序的 /api/* url 重定向到我在 Heroku 上托管的 api。

因此,应该将 localhost/api/hello 代理到 testapp.heroku.com/hello 并返回响应。

使用 node-http-proxy 在 localhost 到 localhost 上完美运行,但是当我将它指向 myapp.heroku.com 时,我收到此错误:

我有一种感觉是 Heroku 的路由系统在伪造我的代理请求,我还没有找到解决它的方法。有任何想法吗?

0 投票
3 回答
24243 浏览

android - android上有没有像fiddler或wireshark这样的http代理?

我需要查看 Android 应用程序从我的设备调用的页面。有没有像 Fiddler 或 Wireshark 这样的应用程序来查看背后发生了什么?

0 投票
3 回答
37502 浏览

http - HTTP 代理如何利用 HTTP 协议?代理 RFC?

与实现 HTTP 网络服务器相比,如何实现 HTTP 代理,有什么区别?有没有关于这个主题的权威指南或 RFC 或有用的书?

0 投票
1 回答
612 浏览

ruby - 如何允许 ruby​​ 脚本(程序?)通过 http 代理访问互联网?

我试图为 vim 安装博客插件

根据说明,安装和配置后,我应该可以写这样的东西:

电子博主:列表

我会看到我发布的博客文章列表。但是我收到以下错误:

p>

我在 HTTP 代理后面。所以我猜这就是我收到这些错误的原因。我不想更改 ruby​​ 脚本以使它们与代理设置一起使用。我尝试将环境变量设置HTTP_PROXY为正确的值以使其工作,但无济于事。

0 投票
2 回答
2787 浏览

node.js - Node-http-proxy 动态路由表?

我为 http-proxy 使用以下代码:

我的问题是,我可以动态更新路由表吗?不关闭代理服务器?

谢谢解答

0 投票
2 回答
6283 浏览

json - 从 URL 为 ExtJS 网格面板加载静态 JSON 数据

我尝试使用来自与包含 ExtJs 代码的 Javascript 文件位于同一域中的 JSON 文件中的数据来实现网格面板。我正在使用 ExtJs 3.4。

网格显示,但其中没有任何数据。Firebug 显示一条错误消息,告诉我 JSON 文件的第一行有错误(“格式不正确”)。我已经验证了 JSON 文件,一切正常。

这是我的代码:

我的 JSON 数据是:

你有什么想法吗?有人可以给我一些提示吗?

提前致谢!

塞哈

0 投票
4 回答
2504 浏览

c# - 有没有用 C# 编写的开源 Http 代理?

有谁知道用 C# 编写的 Http 代理源代码?我想要一个代理来编写一个代理来过滤响应并将其转发给客户端!我一直在提到 Mentalis 项目,似乎他们的代理在多线程环境中不起作用!

任何人都知道一个多线程 http 代理服务器开源项目?

0 投票
2 回答
2115 浏览

c# - How to get programmatically the Web browser's IP address and Port number in C#?

I am creating a Http proxy that seats between the web browser and the web server and based on my requirements the proxy server should get the IP address and port number of the web browser that has made a request. Here is a class that represent the connection between the proxy and web browser.

Note that i am not using neither HttListener nor HttpRequest objects! I have created a custom Request object that allows me to set the http headers and other stuff that the HttpRequest object doesn't do;but my Request object doesn't have a method to get the browser IP address and Port.

0 投票
1 回答
2484 浏览

http - “Proxy-agent”标头有什么用?

有谁知道“代理代理”响应标头的用法?