mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
15 lines
278 B
Python
15 lines
278 B
Python
from gunicorn.config import Config
|
|
|
|
cfg = Config()
|
|
|
|
request = {
|
|
"method": "GET",
|
|
"uri": uri("/stuff/here?foo=bar"),
|
|
"version": (1, 1),
|
|
"headers": [
|
|
('TRANSFER-ENCODING', 'identity'),
|
|
('TRANSFER-ENCODING', 'chunked')
|
|
],
|
|
"body": b"hello"
|
|
}
|