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.0.1.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for httpdummy-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8fc572ddfd5ed614f36076d640fb15191b0734879049b8ff71df6ea370f932f |
|
MD5 | 76f028bbc570edbc3e89cefa61dc069b |
|
BLAKE2b-256 | 2e43fe229540807d0e6296284daeab6d564dc6acbfc695e07381209a94802c9e |