2012-10-24 22:07:35 +02:00

14 lines
285 B
Python

request = {
"method": "POST",
"uri": uri("/chunked_w_trailing_headers"),
"version": (1, 1),
"headers": [
("TRANSFER-ENCODING", "chunked")
],
"body": b"hello world",
"trailers": [
("VARY", "*"),
("CONTENT-TYPE", "text/plain")
]
}