postnummer-app/backend/http_request_example.txt

29 lines
645 B
Plaintext
Raw Normal View History

2023-02-09 14:55:57 +00:00
starting server...
listening on port 8000
waiting for client...
client connected
recieved:
GET / HTTP/1.1
Host: localhost:8000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109
.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/w
ebp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
disconnecting client
error: could not recieve
waiting for client...
client connected
client disconnected
waiting for client...