Skip to content

Instantly share code, notes, and snippets.

@mikouaj
Created April 25, 2022 07:21
Show Gist options
  • Save mikouaj/5792fcdfb99b61171792c2b9936af693 to your computer and use it in GitHub Desktop.
Save mikouaj/5792fcdfb99b61171792c2b9936af693 to your computer and use it in GitHub Desktop.
curl on docs.github.com -> HTTP 403
% curl -v https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
* Trying 185.199.111.154:443...
* Connected to docs.github.com (185.199.111.154) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
* start date: Apr 7 00:00:00 2022 GMT
* expire date: Apr 7 23:59:59 2023 GMT
* subjectAltName: host "docs.github.com" matched cert's "*.github.com"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7f86b4810a00)
> GET /en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests HTTP/2
> Host: docs.github.com
> user-agent: curl/7.79.1
> accept: */*
>
< HTTP/2 403
< x-azure-ref: 0zEtmYgAAAAB8kI8FraQ3TI25cP8LHH8URlJBMzFFREdFMDMwNgA1OTZkNzhhMi1jYTVmLTQ3OWQtYmNkYy0wODM1ODMzMTc0YjI=
< accept-ranges: bytes
< date: Mon, 25 Apr 2022 07:20:44 GMT
< via: 1.1 varnish
< x-served-by: cache-fra19138-FRA
< x-cache: MISS
< x-cache-hits: 0
< x-timer: S1650871245.770347,VS0,VE5
< strict-transport-security: max-age=31557600
<
* Connection #0 to host docs.github.com left intact
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta content='text/html; charset=utf-8' http-equiv='content-type'/><style type='text/css'>body { font-family:Arial; margin-left:40px; }img { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p { font-size: 13px; color: #000000; margin: 7px 0px 0px 0px }#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>Microsoft</title></head><body><div id='content'><div id='message'><h2>The request is blocked.</h2></div><div id='errorref'><span>0zEtmYgAAAAB8kI8FraQ3TI25cP8LHH8URlJBMzFFREdFMDMwNgA1OTZkNzhhMi1jYTVmLTQ3OWQtYmNkYy0wODM1ODMzMTc0YjI=</span></div></div></body></html>%
@Hadi8mars
Copy link

xasvt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment