-
-
Save jaytaph/20d13bde2c5804e33c20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ webserver git:(moreup) ✗ sf webserver.sf 0.0.0.0 | |
> Serving Saffire on 0.0.0.0:4000 | |
> Press CTRL-C to quit. | |
> Accepting connections... | |
IN > GET /index.html HTTP/1.0 | |
IN > User-Agent: Wget/1.12 (linux-gnu) | |
IN > Accept: */* | |
IN > Host: 192.168.56.201:4000 | |
IN > Connection: Keep-Alive | |
IN > | |
PATH: /index.html | |
> Response status[200] Body[54] | |
OUT> HTTP/1.1 200 OK | |
OUT> Content-type: text/html | |
OUT> Content-length: 54 | |
OUT> Connection: close | |
OUT> Date: Mon, 06 Jul 2015 15:21:12 GMT | |
OUT> Server: Saffire WebServer/1.0 | |
OUT> | |
OUT> <h1>Hello world</h1> | |
<h2>From Saffire Webserver!</h2> | |
> Accepting connections... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment