No project description provided
Project description
wsgi-echo-server
A wsgi and http echo server.
How to use
docker run -e "WSGI_PORT=9000" ghcr.io/buserbrasil/wsgi-echo-server
Response
{
"environment": {
"PATH_INFO": "/",
"QUERY_STRING": "",
"RAW_URI": "/",
"REMOTE_ADDR": "127.0.0.1",
"REQUEST_METHOD": "GET",
"REQUEST_URI": "/",
"SCRIPT_NAME": "",
"SERVER_NAME": "localhost",
"SERVER_PORT": "80",
"SERVER_PROTOCOL": "HTTP/1.1"
},
"host": {
"hostname": "mockedhostname"
},
"http": {
"method": "GET"
},
"request": {
"body": "",
"cookies": {},
"headers": {
"host": "localhost",
"user-agent": "werkzeug/2.2.3"
},
"query": {}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wsgi_echo_server-0.0.4.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for wsgi_echo_server-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438db42817525a6ec77e9c2af5fb9e2bd8c7b2c923e8f9dede3cc306b53fabc2 |
|
MD5 | 522f825b1b47f474bb78fac2f6863578 |
|
BLAKE2b-256 | 53345b821278455589f90d7d114958bd0dda9f4e0594271d37cd4f64bdc17b9f |