A dummy http server that prints requests and responds
Project description
HTTPDummy
__________________
/ ________ \
/ _____| |___\
| / __ __ |
/| | /o \ _ /o \ |
| | / \ |
\|/ __ __ |
\ |\_________/| /
\___|___________|__/
| |
/\_________/\
_ _ _____ _____ ____ ____ _/ \ / \_
| | | |_ _|_ _| _ \| _ \ _ | _ _ __ V__ _ __|___ _ _
| |_| | | | | | | |_) | | | | | | | '_ ` _ \| '_ ` _ \| | | |
| _ | | | | | | __/| |_| | |_| | | | | | | | | | | | |_| |
|_| |_| |_| |_| |_| |____/ \__,_|_| |_| |_|_| |_| |_|\__, |
|___/
HTTPDummy is a development HTTP server tool that prints information about the requests it receives to stdout.
Installation
pip install httpdummy
Usage
usage: httpdummy [-h] [-H [HEADERS]] [-B [BODY]] [-a ADDRESS] [-p PORT]
[-r [RESPONSE_FILE]]
A dummy http server that prints requests and responds
optional arguments:
-h, --help show this help message and exit
-H [HEADERS], --headers [HEADERS]
-B [BODY], --body [BODY]
-a ADDRESS, --address ADDRESS
-p PORT, --port PORT
-r [RESPONSE_FILE], --response-file [RESPONSE_FILE]
- Add the
-H
flag to print request headers. - Add the
-B
flag to print request body.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
httpdummy-1.1.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for httpdummy-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a87b85f6bb8fe5fee9fc818cd09b979b16bd339325c8deec0545fbd0bd9a63d3 |
|
MD5 | 3001fbbd267fe9dd0edea63a6a80573f |
|
BLAKE2b-256 | 8177c011bd61990572d06b3ab6264fbd3c6bfe10e86fa5298f226d41077b660f |