Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyman/throttled-http-proxy
Transparently proxies HTTP request to some other pre-defined server with support for throttling the number of concurrent requests
https://github.com/heyman/throttled-http-proxy
Last synced: 1 day ago
JSON representation
Transparently proxies HTTP request to some other pre-defined server with support for throttling the number of concurrent requests
- Host: GitHub
- URL: https://github.com/heyman/throttled-http-proxy
- Owner: heyman
- Created: 2012-10-05T09:13:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-05T09:29:04.000Z (about 12 years ago)
- Last Synced: 2023-04-13T15:37:16.113Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Throttled HTTP Proxy
Small server that transparently proxies HTTP requests to some other pre-defined server.
The number of requests can be throttled, which may be useful when using an API
which imposes limits on the number of concurrent requests that you are allowed to make.## Usage
```
Usage: main.py [options] target-hostOptions:
-h, --help show this help message and exit
-i INTERFACE, --interface=INTERFACE
What interface to listen to. Defaults to 0.0.0.0
-p PORT, --port=PORT What port to listen on. Defaults to 6565
--certfile=CERTFILE SSL certfile if the proxy server should use SSL
--keyfile=KEYFILE SSL keyfile if the proxy server should use SSL
--logfile=LOGFILE File to log to. If not specified, logging will go to
stdout
--loglevel=LOGLEVEL Log level. Defaults to INFO
--pool-size=POOL_SIZE
Number of concurrent requests that can be proxied
```