2 ms·
Nope, using w3m I too get the same message. Also: $ http --print=Hh https://www.pnas.org/doi/10.1073/pnas.2102061118 GET /doi/10.1073/pnas.21020611
by johnchristopher 4y ago
Nope, using w3m I too get the same message. Also:
$ http --print=Hh https://www.pnas.org/doi/10.1073/pnas.2102061118
GET /doi/10.1073/pnas.2102061118 HTTP/1.1
User-Agent: HTTPie/2.2.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Host: www.pnas.org
HTTP/1.1 503 Service Temporarily Unavailable
Date: Sat, 09 Jul 2022 20:14:25 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
X-Frame-Options: SAMEORIGIN
Permissions-Policy: accelerometer=(),autoplay=(),camera=(),clipboard-read=(),clipboard-write=(),fullscreen=(),geolocation=(),gyroscope=(),hid=(),interest-cohort=(),magnetometer=(),microphone=(),payment=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),sync-xhr=(),usb=()
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Set-Cookie: __cf_bm=qv6dsgda4RMnNWeT1VIRHInJZ1zZUOR8nOf8QcEsplM-1657397665-0-Acn1NnHCTMFqAG0yu80qvOAMdxVlVdo8MN9/BQkNBqBe0hiZukolLXQSpxCeK1BuVjjaYeSfvyy90NfVEAA1CGE=; path=/; expires=Sat, 09-Jul-22 20:44:25 GMT; domain=.pnas.org; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
Strict-Transport-Security: max-age=15552000
Server: cloudflare
CF-RAY: 7283b9ce3f93d488-BRU
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
And yet server sends the browser an HTML document with enough in it to force the redirection even with JS disabled.
- jwilk 4y agoIt works for me in Firefox and elinks, but not in w3m. It doesn't work in curl either, even when I use the same headers Firefox does.