Closed 0x5e closed 3 years ago
» curl --retry 2 -I -s https://github.com/lmk123/oh-my-wechat/releases/latest
HTTP/2 302
date: Thu, 21 Jan 2021 09:31:40 GMT
content-type: text/html; charset=utf-8
server: GitHub.com
status: 302 Found
vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With, Accept-Encoding
location: https://github.com/lmk123/oh-my-wechat/releases/tag/v2.1.1
cache-control: no-cache
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
referrer-policy: no-referrer-when-downgrade
expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.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 cdn.optimizely.com logx.optimizely.com/v1/events wss://alive.github.com online.visualstudio.com/api/v1/locations; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/socket-worker-5029ae85.js gist.github.com/socket-worker-5029ae85.js
set-cookie: _gh_sess=GcPHX%2F4qtpkrSUVYa528A3vBM1FqIWcV6vir4%2Bkm%2Bf1CyxuhXOQ6ibA8O78QdrHVohKJCoPPhaSf7ye6sJHpoKG%2FGVJ67b3Wok9jgp8C6NWh5cxtUuQ3hstw7t3kDxek%2Bg%2FEofUOiLQDbHS0%2FetWO8WpvvHx8h5EXQ4WIUBr4qBIj%2BFFGncZ%2BBKXrSkYGNNDLiDyVpVYQLATyB4QJkaPu2T%2FYiiFo3ucxcjLM%2FS9co5zrjeNTuj2qDTxp%2F3BBowpJOvTN9DjdoHf5zrYh2kpgQ%3D%3D--21gI9OHAWw5GCAuN--Np6g5HGE8DbpoHUKC1tmOw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1859106147.1611221529; Path=/; Domain=github.com; Expires=Fri, 21 Jan 2022 09:32:09 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 21 Jan 2022 09:32:09 GMT; HttpOnly; Secure; SameSite=Lax
content-length: 124
x-github-request-id: D688:2F13:F8591:1155D5:60094A19
感谢修复!
合并 #73 的时候我确认过我这边已经没有这个问题了,但是还是有很多人反馈,对比了一下你的 curl --retry 2 -I -s https://github.com/lmk123/oh-my-wechat/releases/latest
才发现在我这里是首字母大写的 Location
,所以 #73 修复了我的问题,但对于向你一样首字母小写的 location
就还是会有问题。