Using telnet to Simulate a HTTP Client: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * HTTP =Overview=")
 
Line 4: Line 4:


=Overview=
=Overview=
<pre>
telnet localhost 10000
GET /index.html HTTP/1.1
Connection: close
HTTP/1.1 200 OK
Content-Length: 37
Server: NovaOrdis http-server
Connection: close
...
Connection closed by foreign host.

Revision as of 22:38, 8 January 2017

Internal

Overview

telnet localhost 10000
GET /index.html HTTP/1.1
Connection: close

HTTP/1.1 200 OK
Content-Length: 37
Server: NovaOrdis http-server
Connection: close
...
Connection closed by foreign host.