Skip to content

Instantly share code, notes, and snippets.

@stephenlb
Created July 20, 2015 22:35
Show Gist options
  • Save stephenlb/675c0270053413e1fbdf to your computer and use it in GitHub Desktop.
Save stephenlb/675c0270053413e1fbdf to your computer and use it in GitHub Desktop.
GitHub Gist 302 Redirect Failure
~$ curl -v https://gist.github.com/7756459c939b76e021c5.js?file=esp8266_hooks.c
* Connected to gist.github.com (192.30.252.143) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.github.com
* Server certificate: DigiCert SHA2 High Assurance Server CA
* Server certificate: DigiCert High Assurance EV Root CA
> GET /7756459c939b76e021c5.js?file=esp8266_hooks.c HTTP/1.1
> User-Agent: curl/7.37.1
> Host: gist.github.com
> Accept: */*
>
< HTTP/1.1 302 Found
* Server GitHub.com is not blacklisted
< Server: GitHub.com
< Date: Mon, 20 Jul 2015 22:34:37 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Status: 302 Found
< Content-Security-Policy: default-src *; script-src assets-cdn.github.com collector-cdn.github.com; object-src assets-cdn.github.com; style-src 'self' 'unsafe-inline' 'unsafe-eval' assets-cdn.github.com; img-src 'self' data: assets-cdn.github.com identicons.github.com www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com *.wp.com; media-src 'none'; frame-src 'self' render.githubusercontent.com gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src assets-cdn.github.com; connect-src 'self' live.github.com wss://live.github.com uploads.github.com status.github.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com
< Public-Key-Pins: max-age=300; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg="; includeSubDomains
< Cache-Control: no-cache
< Vary: X-PJAX
< Location: https://gist.github.com/Kurt-E-Clothier/7756459c939b76e021c5.js
< X-UA-Compatible: IE=Edge,chrome=1
< X-Request-Id: 1e68099ad64b8db58504af742019a38d
< X-Runtime: 0.007856
< X-GitHub-Request-Id: C60BD866:6A03:4BDCBE:55AD777D
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: deny
< Vary: Accept-Encoding
< X-Served-By: 3f38dada85f97412f7f824e59f77fa9d
<
* Connection #0 to host gist.github.com left intact
<html><body>You are being <a href="https://gist.github.com/Kurt-E-Clothier/7756459c939b76e021c5.js">redirected</a>.</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment