Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created December 10, 2012 22:04
Show Gist options
  • Save mythmon/4253776 to your computer and use it in GitHub Desktop.
Save mythmon/4253776 to your computer and use it in GitHub Desktop.
Demonstration of headers in the Github status API that prevents in browser use.
$ http HEAD "https://status.github.com/api/messages.json?callback=apiCallback"
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 13
Content-Type: application/javascript;charset=utf-8
Date: Mon, 10 Dec 2012 22:04:03 GMT
Server: nginx
Status: 200 OK
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment