Skip to content

Instantly share code, notes, and snippets.

@lukmdo
Created February 4, 2016 06:52
Show Gist options
  • Save lukmdo/4efef8813a490cf15ee3 to your computer and use it in GitHub Desktop.
Save lukmdo/4efef8813a490cf15ee3 to your computer and use it in GitHub Desktop.
Some of Gitub API headers

Github API response dumps

Public Request Resoponse Headers

HTTP/1.1 200 OK
Status: 200 OK
Server: GitHub.com
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Cache-Control: public, max-age=60, s-maxage=60
Content-Length: 63903
Content-Security-Policy: default-src 'none'
Content-Type: application/json; charset=utf-8
Date: Thu, 04 Feb 2016 06:38:53 GMT
ETag: "94afc35995b82beae682d218ee3bf849"
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Vary: Accept
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-GitHub-Media-Type: github.v3
X-GitHub-Request-Id: 402E17BB:A4EB:45DFF6B:56B2F1FD
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 54
X-RateLimit-Reset: 1454571178
X-Served-By: d594a23ec74671eba905bf91ef329026
X-XSS-Protection: 1; mode=block

Private Request Resoponse Headers

HTTP/1.1 200 OK
Status: 200 OK
Server: GitHub.com
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Cache-Control: private, max-age=60, s-maxage=60
Content-Length: 64983
Content-Security-Policy: default-src 'none'
Content-Type: application/json; charset=utf-8
Date: Thu, 04 Feb 2016 06:40:12 GMT
ETag: "fdfb885fa9d56a0b093f5bbde03fa3c8"
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Vary: Accept, Authorization, Cookie, X-GitHub-OTP
Vary: Accept-Encoding
X-Accepted-OAuth-Scopes: 
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-GitHub-Media-Type: github.v3
X-GitHub-Request-Id: 402E17BB:14594:3B844EE:56B2F24C
X-OAuth-Scopes: gist, repo, user
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
X-RateLimit-Reset: 1454571612
X-Served-By: bd82876e9bf04990f289ba22f246ee9b
X-XSS-Protection: 1; mode=block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment