micropython/tests/net_inet/asyncio_tcp_read_headers.py...

12 lines
229 B
Plaintext

write GET
b'HTTP/1.1 200 OK'
b'Content-Type: text/html'
b'Content-Length: 54'
b'Connection: close'
b'Vary: Accept-Encoding'
b'ETag: "54306c85-36"'
b'Strict-Transport-Security: max-age=15768000'
b'Accept-Ranges: bytes'
close
done