Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeouts to download binary data with redirections #7

Closed
icyleaf opened this issue Oct 10, 2017 · 0 comments
Closed

Timeouts to download binary data with redirections #7

icyleaf opened this issue Oct 10, 2017 · 0 comments
Labels

Comments

@icyleaf
Copy link
Owner

icyleaf commented Oct 10, 2017

It returns gateway timeout use uri: https://github.com/icyleaf/halite/archive/master.zip but it works with redirect uri (https://codeload.github.com/icyleaf/halite/zip/master)

Headers info with curl.

$ curl -L -I https://github.com/icyleaf/halite/archive/master.zip
HTTP/1.1 302 Found
Date: Tue, 10 Oct 2017 16:00:33 GMT
Content-Type: text/html; charset=utf-8
Server: GitHub.com
Status: 302 Found
Cache-Control: no-cache
Vary: X-PJAX
Location: https://codeload.github.com/icyleaf/halite/zip/master
X-UA-Compatible: IE=Edge,chrome=1
Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 10 Oct 2037 16:00:33 -0000; secure; HttpOnly
Set-Cookie: _gh_sess=eyJzZXNzaW9uX2lkIjoiZTVkZTlmZjk4YTI3ODM2YmNkNjhjZGYyYTFmZjI4YTkiLCJsYXN0X3JlYWRfZnJvbV9yZXBsaWNhcyI6MTUwNzY1MTIzMzkyNiwic3B5X3JlcG8iOiJpY3lsZWFmL2hhbGl0ZSIsInNweV9yZXBvX2F0IjoxNTA3NjUxMjMzfQ%3D%3D--ee361d1140eb2973415f14468179cc708808e6ad; path=/; secure; HttpOnly
X-Request-Id: 5ff7e430d9449fa32c538e34d20df358
X-Runtime: 0.052454
Content-Security-Policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; child-src render.githubusercontent.com; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Public-Key-Pins: max-age=5184000; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho="; pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4="; pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
X-Runtime-rack: 0.059370
Vary: Accept-Encoding
X-GitHub-Request-Id: 768B:28D99:51FB1CC:7DEE5B1:59DCEEA1

HTTP/1.1 200 OK
Transfer-Encoding: chunked
Access-Control-Allow-Origin: https://render.githubusercontent.com
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'
Strict-Transport-Security: max-age=31536000
Vary: Authorization,Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
ETag: "cc28467b25df3dd57bf2329bde0d80d85cb7c0d4"
Content-Type: application/zip
Content-Disposition: attachment; filename=halite-master.zip
X-Geo-Block-List:
Date: Tue, 10 Oct 2017 16:00:35 GMT
X-GitHub-Request-Id: 76B0:1D38E:A8177:199908:59DCEEA2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant