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

20 lines
335 B
Python

req1 = {
"method": "POST",
"uri": uri("/two_chunks_mult_zero_end"),
"version": (1, 1),
"headers": [
("TRANSFER-ENCODING", "chunked")
],
"body": b"hello world"
}
req2 = {
"method": "GET",
"uri": uri("/second"),
"version": (1, 1),
"headers": [],
"body": b""
}
request = [req1, req2]