① A request message is just a few lines of plain text:
'GET /help HTTP/1.1\r\nHost: 127.0.0.1:56718\r\nUser-Agent: k6-demo\r\nAccept: text/plain\r\n\r\n'
--- ② Response 200 (note that Content-Length is counted in bytes)
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.12.14
Date: Wed, 14 Oct 2026 23:54:57 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 51
ETag: "76b90d86b0742cc0"
[body] b'\xe6\x98\x9f\xe6\xb2\xb3\xe7\xac\x94\xe8\xae\xb0\xe5\xb8\xae\xe5\x8a\xa9\xef\xbc\x9a7 \xe5\xa4\xa9\xe5\x86\x85\xe5\x8f\xaf\xe6\x97\xa0\xe7\x90\x86\xe7\x94\xb1\xe9\x80\x80\xe6\xac\xbe\xe3\x80\x82\n'
Chinese body character count: 19, byte count: 51
--- ③ Second request on the same TCP connection: with If-None-Match -> 304, no body
HTTP/1.1 304 Not Modified
Server: BaseHTTP/0.6 Python/3.12.14
Date: Wed, 14 Oct 2026 23:54:57 GMT
ETag: "76b90d86b0742cc0"
--- ④ Non-existent path -> 404
HTTP/1.1 404 Not Found
Server: BaseHTTP/0.6 Python/3.12.14
Date: Wed, 14 Oct 2026 23:54:57 GMT
Content-Type: application/json
Content-Length: 21
[body] b'{"error":"not found"}'
--- ⑤ Chunked transfer (this client reads by HTTP framing boundaries rather than assuming one recv gets everything)
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.12.14
Date: Wed, 14 Oct 2026 23:54:57 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
[body] b'6\r\n\xe4\xbd\xa0\xe5\xa5\xbd\r\n3\r\n\xef\xbc\x8c\r\n6\r\n\xe6\x88\x91\xe6\x98\xaf\r\n6\r\n\xe5\xae\xa2\xe6\x9c\x8d\r\n0\r\n\r\n'
Full stream reception time (ms, not per-chunk arrival timestamps): 202
--- ⑥ Unimplemented method
HTTP/1.1 501 Unsupported method ('BREW')
Verification Log: 09-current-run.txt
Original companion example or verification log for the tutorial, preserved with user paths redacted; execution scope follows the recorded run.