Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

HTTP Proxy Server in Python, Convert GET to POST

Project description

# g2p
A Proxy that convert GET request to POST request

# Install
python setup install

# Usage
g2p.py --port 8080 [--config action.yaml]

```
http://host?url=target_url
http://host?url=target_url&src=target_src
```

url: Send POST request to target_url
src: Fetch resource from string of src is matched by target_src when result of target_url is html.

#action.yaml

You can setup config file to support basic authentication

```
auth1:
type: BasicAuthenticationAction
match: 'www.example.com'
user: 'test'
password: 'test'
```

Project details


Release history Release notifications

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
g2p-0.6.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Nov 19, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page