No project description provided
Project description
wsgi-echo-server
A wsgi and http echo server.
How to use
docker run -e "UWSGI_SOCKET=: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.5.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for wsgi_echo_server-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e484d96b1411dc01435308a9cf079e2acf1cb504c7846cba5310f80a1e7d7c42 |
|
MD5 | 097703de9624d7ab7341d362fc331bf0 |
|
BLAKE2b-256 | c655d323451f451970e6e9e38660ae55d1fe6fbdd808c99e3992a3f34492af7b |