|
Lines 331-337
Link Here
|
| 331 |
in response to commands issued by the client. |
331 |
in response to commands issued by the client. |
| 332 |
For example, to retrieve the home page of a web site: |
332 |
For example, to retrieve the home page of a web site: |
| 333 |
.Bd -literal -offset indent |
333 |
.Bd -literal -offset indent |
| 334 |
$ echo -n "GET / HTTP/1.0\er\en\er\en" | nc host.example.com 80 |
334 |
$ printf "GET / HTTP/1.0\er\en\er\en" | nc host.example.com 80 |
| 335 |
.Ed |
335 |
.Ed |
| 336 |
.Pp |
336 |
.Pp |
| 337 |
Note that this also displays the headers sent by the web server. |
337 |
Note that this also displays the headers sent by the web server. |