Skip to content

Instantly share code, notes, and snippets.

@p-mongo
Created April 26, 2020 20:41
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 p-mongo/23aabf0b6f74b23cc39c464158d9cae9 to your computer and use it in GitHub Desktop.
Save p-mongo/23aabf0b6f74b23cc39c464158d9cae9 to your computer and use it in GitHub Desktop.
Tenex Paste
carbon% time curl -X HEAD -v "https://evergreen.mongodb.com/task_log_raw/mongoid_driver_oldstable_jruby__mongodb_version~4.0_topology~standalone_jruby~jruby_9.2_driver~oldstable_jruby_test_patch_136ccbc140b25719f48ff5185bb471f90c063148_5ea5cdada4cf472b3deaeb22_20_04_26_18_06_38/0?type=T" -H api-user:oleg.pudeyev -Hapi-key:XXX
Warning: Setting custom HTTP method to HEAD with -X/--request may not work the
Warning: way you want. Consider using -I/--head instead.
* Trying 54.175.147.155...
* TCP_NODELAY set
* Connected to evergreen.mongodb.com (54.175.147.155) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (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 handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=US; ST=New York; L=New York; O=MongoDB, Inc.; CN=*.mongodb.com
* start date: Oct 18 00:00:00 2019 GMT
* expire date: Dec 1 12:00:00 2021 GMT
* subjectAltName: host "evergreen.mongodb.com" matched cert's "*.mongodb.com"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA
* SSL certificate verify ok.
> HEAD /task_log_raw/mongoid_driver_oldstable_jruby__mongodb_version~4.0_topology~standalone_jruby~jruby_9.2_driver~oldstable_jruby_test_patch_136ccbc140b25719f48ff5185bb471f90c063148_5ea5cdada4cf472b3deaeb22_20_04_26_18_06_38/0?type=T HTTP/1.1
> Host: evergreen.mongodb.com
> User-Agent: curl/7.58.0
> Accept: */*
> api-user:oleg.pudeyev
> api-key:XXX
>
< HTTP/1.1 405 Method Not Allowed
< Date: Sun, 26 Apr 2020 20:39:23 GMT
< Transfer-Encoding: chunked
< Connection: Keep-Alive
<
* TLSv1.2 (IN), TLS alert, Client hello (1):
* transfer closed with outstanding read data remaining
* stopped the pause stream!
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
curl: (18) transfer closed with outstanding read data remaining
curl -X HEAD -v -H api-user:oleg.pudeyev 0.02s user 0.01s system 0% cpu 11.984 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment