Skip to content

Instantly share code, notes, and snippets.

@jaytaph
Created July 6, 2015 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaytaph/20d13bde2c5804e33c20 to your computer and use it in GitHub Desktop.
Save jaytaph/20d13bde2c5804e33c20 to your computer and use it in GitHub Desktop.
➜ 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