TODO: Add content length or chunking headers in requests. (kms) Signed-off-by: Arija A. <ari@ari.lt>
24 lines
378 B
Text
24 lines
378 B
Text
$ begin keepalive %env HOST 127.0.0.1% %env PORT 8080%
|
|
|
|
-- GET /a
|
|
GET /a HTTP/1.1\r\n
|
|
Host: 127.0.0.1\r\n
|
|
Connection: keep-alive\r\n
|
|
\r\n
|
|
$ read keepalive
|
|
|
|
-- GET /b
|
|
GET /b HTTP/1.1\r\n
|
|
Host: 127.0.0.1\r\n
|
|
Connection: keep-alive\r\n
|
|
\r\n
|
|
$ read keepalive
|
|
|
|
-- GET /a
|
|
GET /a HTTP/1.1\r\n
|
|
Host: 127.0.0.1\r\n
|
|
Connection: keep-alive\r\n
|
|
\r\n
|
|
$ read keepalive
|
|
|
|
$ end keepalive quiet
|