Prototyping 2014-01-21 (Networked Media)

From XPUB & Lens-Based wiki

Telnet

telnet 145.24.143.xxx 8000
GET /hello.txt
 _          _ _       
| |__   ___| | | ___  
| '_ \ / _ \ | |/ _ \ 
| | | |  __/ | | (_) |
|_| |_|\___|_|_|\___/
telnet 145.24.143.xxx 8000
GET /hello.txt HTTP/1.0

After hitting enter twice (the last once sends a blank line which is what signals to the server the end of the request, the server responds...

HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.7.3
Date: Mon, 20 Jan 2014 16:44:02 GMT
Content-type: text/plain
Content-Length: 138
Last-Modified: Sat, 23 Nov 2013 09:47:57 GMT
 _          _ _       
| |__   ___| | | ___  
| '_ \ / _ \ | |/ _ \ 
| | | |  __/ | | (_) |
|_| |_|\___|_|_|\___/