Skip to content

Instantly share code, notes, and snippets.

@therebelrobot
Created May 15, 2018 21:02
Show Gist options
  • Save therebelrobot/86fae89548d3a49b4b29e71a7bc71373 to your computer and use it in GitHub Desktop.
Save therebelrobot/86fae89548d3a49b4b29e71a7bc71373 to your computer and use it in GitHub Desktop.
Curl http > https redirect
curl -vL www.saleae.com
* Rebuilt URL to: www.saleae.com/
* Trying 151.101.66.49...
* TCP_NODELAY set
* Connected to www.saleae.com (151.101.66.49) port 80 (#0)
> GET / HTTP/1.1
> Host: www.saleae.com
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 301 https://www.saleae.com/
< Server: Varnish
< Retry-After: 0
< Content-Length: 0
< Location: https://www.saleae.com/
< Accept-Ranges: bytes
< Date: Tue, 15 May 2018 21:00:26 GMT
< Via: 1.1 varnish
< Connection: close
< X-Served-By: cache-pao17420-PAO
< X-Cache: HIT
< X-Cache-Hits: 0
< X-Timer: S1526418026.312383,VS0,VE2
<
* Closing connection 0
* Issue another request to this URL: 'https://www.saleae.com/'
* Trying 151.101.66.49...
* TCP_NODELAY set
* Connected to www.saleae.com (151.101.66.49) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=g2.shared.global.fastly.net
* start date: May 1 19:56:10 2018 GMT
* expire date: Jan 17 18:11:56 2019 GMT
* subjectAltName: host "www.saleae.com" matched cert's "*.saleae.com"
* issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign CloudSSL CA - SHA256 - G3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* 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 0x7fdd1b807400)
> GET / HTTP/2
> Host: www.saleae.com
> User-Agent: curl/7.54.0
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 200
< content-type: text/html; charset=UTF-8
< etag: "02c63800a94628f53b0ecb566ec1af14-ssl"
< strict-transport-security: max-age=31536000
< age: 0
< server: Netlify
< cache-control: public,max-age=3600
< accept-ranges: bytes
< date: Tue, 15 May 2018 21:00:26 GMT
< via: 1.1 varnish
< x-served-by: cache-sjc3627-SJC
< x-cache: MISS
< x-cache-hits: 0
< x-timer: S1526418026.412671,VS0,VE368
< vary: Accept-Encoding, X-Saleae-Origin
<
<!DOCTYPE html>
<html lang="en"> ...[CONTENT]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment