Skip to content

Instantly share code, notes, and snippets.

@kratsg
Created November 21, 2014 07:05
Show Gist options
  • Save kratsg/3b7fee0a7a3232f3094e to your computer and use it in GitHub Desktop.
Save kratsg/3b7fee0a7a3232f3094e to your computer and use it in GitHub Desktop.
HTTP/1.1 404 Not Found
Content-Type: text/html;charset=utf-8
X-Cascade: pass
Content-Length: 448
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Server: WEBrick/1.3.1 (Ruby/2.1.3/2014-09-19)
Date: Fri, 21 Nov 2014 07:04:42 GMT
Connection: Keep-Alive
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body { text-align:center;font-family:helvetica,arial;font-size:22px;
color:#888;margin:20px}
#c {margin:0 auto;width:500px;text-align:left}
</style>
</head>
<body>
<h2>Sinatra doesn&rsquo;t know this ditty.</h2>
<img src='http://giordonstark.com:9081/__sinatra__/404.png'>
<div id="c">
Try this:
<pre>get '/ping' do
"Hello World"
end
</pre>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment