Questions tagged [http-proxy]

An HTTP Proxy is a server that receives requests from your web browser and then makes the request to the Internet on your behalf. It then returns the results to your browser.

A proxy server is a server (a computer system or an application) that acts as an intermediary for requests from clients seeking resources from other servers.

A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity.

Today, most proxies are web proxies, facilitating access to content on the World Wide Web.

1502 questions
26
votes
1 answer

difference between http_proxy and https_proxy

I want to understand the difference between http_proxy and https_proxy environment variables. So my understanding is that http_proxy will be used if I(as client) that sends http request. https_proxy will be used if I(as client) that sends https…
ConfusedP
  • 291
  • 1
  • 3
  • 5
25
votes
5 answers

Node NPM proxy authentication - how do I configure it?

I'm new to Node and trying to install TypeScript using the following command: npm install -g typescript I get the following error: if you are behind a proxy, please make sure that the 'proxy' config is set properly. I have set my proxy using the…
Funky
  • 12,890
  • 35
  • 106
  • 161
24
votes
3 answers

webpack-dev-server proxy: context with wildcard

I want to proxy /v1/* to http://myserver.com, and here is my script devServer: { historyApiFallBack: true, // progress: true, hot: true, inline: true, // https: true, port: 8081, contentBase: path.resolve(__dirname, 'public'), proxy:…
Arthur Xu
  • 441
  • 1
  • 5
  • 12
23
votes
4 answers

Basic proxy authentication for HTTPS URLs returns HTTP/1.0 407 Proxy Authentication Required

I want to use a proxy with basic authentication (username, password) for a connection (and only this connection) in Java. The following code works for HTTP URLs (e.g. "http://www.google.com"): URL url = new…
John
  • 909
  • 4
  • 12
  • 29
22
votes
3 answers

Are there any http proxies like fiddler or wireshark on android?

I need to see what page an Android App is calling from my device. Are there any Apps like Fiddler or Wireshark to see what´s happening behind?
rizidoro
  • 13,073
  • 18
  • 59
  • 86
20
votes
2 answers

What is the difference between Connection and Proxy-connection in HTTP header?

What is the difference between Connection and Proxy-Connection in HTTP header? Is the Proxy-Connection field added by the proxy? Or the client and server? What will the proxy, client or server do after receiving a header with these two fields with…
ZHOU
  • 1,151
  • 2
  • 12
  • 27
19
votes
7 answers

JMeter HTTP Proxy server is not recording

We are trying to do performance testing using JMeter. I used the sample guide provided in jmeter using HTTP PROXY SERVER but my record controller was not recording any requests. After doing a lot of research and here is what the complete scenario…
benz
  • 4,561
  • 7
  • 37
  • 68
18
votes
5 answers

HTTP is statel-less,so what does it mean by keep-alive?

Keep-Alive: 300 Proxy-Connection: keep-alive As we know HTTP connection is closed when the request gets responded,so what does it mean by keep-alive,can someone elaborate this?
kern
  • 2,295
  • 4
  • 17
  • 15
18
votes
1 answer

Where are the additional command line options in Android Studio version 1.5.1 for the emulator

After the latest update to AS, the emulator's additional command line options are missing. I use this primarily for -http-proxy and -scale commands. Any help in locating these options, or it's replacement, would be appreciated.
18
votes
1 answer

How to write a proxy pool server (when a request comes, choose a proxy to get url content) in python?

I do not know what the proper name is for such proxy server, you're welcome to fix my question title. When I search proxy server on google, a lot implements like maproxy or a-python-proxy-in-less-than-100-lines-of-code. Those proxies server seems…
Mithril
  • 12,947
  • 18
  • 102
  • 153
17
votes
1 answer

Do HTTP proxy servers modify request packets?

Is any request header added or modified to the HTTP request before forwarding to the server by a proxy server? If so, are the changes done to the same packets, or are the contents used to create new request packets with the modifications?
Ashwin
  • 12,691
  • 31
  • 118
  • 190
15
votes
3 answers

How to HTTP proxy for Next.js API requests

I have tried lots of things online but nothing is working so far. First try (src/pages/api/proxy/[...slug].js): import { createProxyMiddleware } from 'http-proxy-middleware'; // Create proxy instance outside of request handler function to avoid…
user15517565
15
votes
4 answers

How to rotate proxies on a Python requests

I'm trying to do some scraping, but I get blocked every 4 requests. I have tried to change proxies but the error is the same. What should I do to change it properly? Here is some code where I try it. First I get proxies from a free web. Then I go do…
15
votes
3 answers

How to force a specific process to use a proxy for network communication

There are a few programs like Proxifier that can force an exe to use a proxy. There are a few others, too. But the sites all look a bit shady. I don't even trust Proxifier tbh... So I'd like to know how these programs work. How do they do it? Is…
Forivin
  • 14,780
  • 27
  • 106
  • 199
15
votes
1 answer

How to proxy HTTP requests in Spring MVC?

I have an application built on top of Spring MVC. I want to write simple proxy that processes requests as follows: send the same HTTP request to some specific server capture HTTP response from this specific server return the same answer to…