Skip to content

Instantly share code, notes, and snippets.

@jharmn
Last active December 1, 2016 21:45
Show Gist options
  • Save jharmn/cd7211f0e33866e7a72aa2ff86bad071 to your computer and use it in GitHub Desktop.
Save jharmn/cd7211f0e33866e7a72aa2ff86bad071 to your computer and use it in GitHub Desktop.
Github HEAD + If-modified-since
curl --head -H "If-Modified-Since: Tue, 29 Nov 2016 23:38:37 GMT" https://api.github.com/users/jharmn
HTTP/1.1 304 Not Modified
Server: GitHub.com
Date: Thu, 01 Dec 2016 21:43:49 GMT
Status: 304 Not Modified
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 52
X-RateLimit-Reset: 1480631186
Cache-Control: public, max-age=60, s-maxage=60
Vary: Accept
ETag: "d8a85c7eca047c6284c47f836c69394e"
Last-Modified: Tue, 29 Nov 2016 23:38:37 GMT
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
Access-Control-Allow-Origin: *
Content-Security-Policy: default-src 'none'
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
Vary: Accept-Encoding
X-Served-By: 8a5c38021a5cd7cef7b8f49a296fee40
X-GitHub-Request-Id: 5F7A47C1:5FB5:1687E551:58409994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment