aboutsummaryrefslogtreecommitdiff
path: root/DEMO.md
blob: 6e07f7f5f0a211752a0fcf3041e43224fc38a7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Examples

## HTTP/1.1 Request

An HTTP <u>request</u> looks like this:
```http
GET / HTTP/1.1
Host: 192.168.1.51:8000
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36 Edg/95.0.1020.40
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,fr;q=0.8
```