Skip to content

Instantly share code, notes, and snippets.

@carols10cents
Last active March 21, 2024 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carols10cents/06b5e80c47fccd759f4ef790b4461143 to your computer and use it in GitHub Desktop.
Save carols10cents/06b5e80c47fccd759f4ef790b4461143 to your computer and use it in GitHub Desktop.
curl -vL https://crates.io/api/v1/crates/carol-is-not-a-crate/0.1.0/download
* Trying [2600:9000:2508:3800:c:7ed3:240:93a1]:443...
* Connected to crates.io (2600:9000:2508:3800:c:7ed3:240:93a1) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (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-AES128-GCM-SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: CN=crates.io
* start date: Dec 26 00:00:00 2023 GMT
* expire date: Jan 23 23:59:59 2025 GMT
* subjectAltName: host "crates.io" matched cert's "crates.io"
* issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
* SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://crates.io/api/v1/crates/carol-is-not-a-crate/0.1.0/download
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: crates.io]
* [HTTP/2] [1] [:path: /api/v1/crates/carol-is-not-a-crate/0.1.0/download]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
> GET /api/v1/crates/carol-is-not-a-crate/0.1.0/download HTTP/2
> Host: crates.io
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/2 302
< content-length: 0
< location: https://static.crates.io/crates/carol-is-not-a-crate/carol-is-not-a-crate-0.1.0.crate
< server: Cowboy
< report-to: {"group":"heroku-nel","max_age":3600,"endpoints":[{"url":"https://nel.heroku.com/reports?ts=1711035231&sid=af571f24-03ee-46d1-9f90-ab9030c2c74c&s=mplMpIpYSA5%2FT%2BpSsmxy2lS9tYdWwXunGkEmfHhDazg%3D"}]}
< reporting-endpoints: heroku-nel=https://nel.heroku.com/reports?ts=1711035231&sid=af571f24-03ee-46d1-9f90-ab9030c2c74c&s=mplMpIpYSA5%2FT%2BpSsmxy2lS9tYdWwXunGkEmfHhDazg%3D
< nel: {"report_to":"heroku-nel","max_age":3600,"success_fraction":0.005,"failure_fraction":0.05,"response_headers":["Via"]}
< access-control-allow-origin: *
< strict-transport-security: max-age=31536000; includeSubDomains
< date: Thu, 21 Mar 2024 15:33:51 GMT
< via: 1.1 vegur, 1.1 34411558fb3a23efdbbaaddb8a12b574.cloudfront.net (CloudFront)
< x-cache: Miss from cloudfront
< x-amz-cf-pop: IAD12-P1
< x-amz-cf-id: z52omyPJsH0gJExIehA9Kzs9u9wMdBAXbyk5yreXMAmDMz4z_X8Wng==
<
* Connection #0 to host crates.io left intact
* Issue another request to this URL: 'https://static.crates.io/crates/carol-is-not-a-crate/carol-is-not-a-crate-0.1.0.crate'
* Trying [2a04:4e42::649]:443...
* Connected to static.crates.io (2a04:4e42::649) port 443
* ALPN: curl offers h2,http/1.1
* (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-CHACHA20-POLY1305-SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: CN=static.crates.io
* start date: Dec 29 10:20:11 2023 GMT
* expire date: Jan 29 10:20:10 2025 GMT
* subjectAltName: host "static.crates.io" matched cert's "static.crates.io"
* issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2023 Q4
* SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://static.crates.io/crates/carol-is-not-a-crate/carol-is-not-a-crate-0.1.0.crate
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: static.crates.io]
* [HTTP/2] [1] [:path: /crates/carol-is-not-a-crate/carol-is-not-a-crate-0.1.0.crate]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
> GET /crates/carol-is-not-a-crate/carol-is-not-a-crate-0.1.0.crate HTTP/2
> Host: static.crates.io
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/2 403
< x-amz-request-id: AWEDMVN29FFARCTF
< x-amz-id-2: nkwqqKf44BT//RWOv9NDy5rnMfr5AKoquja1Rp7CnIepZTM0xSh4PzPMXOuIS9mxI50Zg4UQo2c=
< content-type: application/xml
< server: AmazonS3
< accept-ranges: bytes
< x-timer: S1711035232.103519,VS0,VE285
< date: Thu, 21 Mar 2024 15:33:52 GMT
< via: 1.1 varnish
< x-cache-hits: 0
< x-served-by: cache-iad-kiad7000055-IAD
< x-cache: MISS
<
<?xml version="1.0" encoding="UTF-8"?>
* Connection #1 to host static.crates.io left intact
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>AWEDMVN29FFARCTF</RequestId><HostId>nkwqqKf44BT//RWOv9NDy5rnMfr5AKoquja1Rp7CnIepZTM0xSh4PzPMXOuIS9mxI50Zg4UQo2c=</HostId></Error>%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment