Skip to content

Instantly share code, notes, and snippets.

@mattmcmanus
Created April 8, 2014 14:19
Show Gist options
  • Save mattmcmanus/10131637 to your computer and use it in GitHub Desktop.
Save mattmcmanus/10131637 to your computer and use it in GitHub Desktop.
Testing vagrant download
$ curl -vvL 'https://d29vzk4ow07wi7.cloudfront.net/02b7cd7d01d9134dadebb3ce50ce3906ee572f4b?response-content-disposition=attachment%3Bfilename%3D%22vagrant_1.5.2.dmg%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHA6Ly9kMjl2ems0b3cwN3dpNy5jbG91ZGZyb250Lm5ldC8wMmI3Y2Q3ZDAxZDkxMzRkYWRlYmIzY2U1MGNlMzkwNmVlNTcyZjRiP3Jlc3BvbnNlLWNvbnRlbnQtZGlzcG9zaXRpb249YXR0YWNobWVudCUzQmZpbGVuYW1lJTNEJTIydmFncmFudF8xLjUuMi5kbWclMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjEzOTY5NjY2OTZ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=STRkslDAMudEMPwSgaQom9ziOMy1hoUprd9yzRyunktqSpZd8rTBRTbdyswGFprZs8~gUibAB~kX-30HPGATTeuXmvRP5ShG0j8xmpg1seVnAd07lo8VEcQSljrgTa1lEXsmqyAXv4WuDHtsLmMBol6CQ47w5cT8SsHPncY2u8vTHQcZK~XMkiW0hdGxLMjZkv1zb5ipx4REO8Sh5N8TJjjjzynqO-bPPNq5zE6wC9dmbzR0chBxqZ4JWREEMhoS4O5lokDt~VIUbo0Iz1tx54zu9vPcekDvx5AnMQxvDmF-UhprgFIxO5Z9WAQdrxq4U4Qxk5s6UkICHUd-K1DxCw__&Key-Pair-Id=APKAIQIOJCQ5764M5VTQ'
* Adding handle: conn: 0x7fdbe8801c00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fdbe8801c00) send_pipe: 1, recv_pipe: 0
* About to connect() to d29vzk4ow07wi7.cloudfront.net port 443 (#0)
* Trying 216.137.33.253...
* Connected to d29vzk4ow07wi7.cloudfront.net (216.137.33.253) port 443 (#0)
* TLS 1.2 connection using TLS_RSA_WITH_RC4_128_MD5
* Server certificate: *.cloudfront.net
* Server certificate: DigiCert High Assurance CA-3
* Server certificate: DigiCert High Assurance EV Root CA
> GET /02b7cd7d01d9134dadebb3ce50ce3906ee572f4b?response-content-disposition=attachment%3Bfilename%3D%22vagrant_1.5.2.dmg%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHA6Ly9kMjl2ems0b3cwN3dpNy5jbG91ZGZyb250Lm5ldC8wMmI3Y2Q3ZDAxZDkxMzRkYWRlYmIzY2U1MGNlMzkwNmVlNTcyZjRiP3Jlc3BvbnNlLWNvbnRlbnQtZGlzcG9zaXRpb249YXR0YWNobWVudCUzQmZpbGVuYW1lJTNEJTIydmFncmFudF8xLjUuMi5kbWclMjIiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjEzOTY5NjY2OTZ9LCJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMC4wLjAuMC8wIn19fV19&Signature=STRkslDAMudEMPwSgaQom9ziOMy1hoUprd9yzRyunktqSpZd8rTBRTbdyswGFprZs8~gUibAB~kX-30HPGATTeuXmvRP5ShG0j8xmpg1seVnAd07lo8VEcQSljrgTa1lEXsmqyAXv4WuDHtsLmMBol6CQ47w5cT8SsHPncY2u8vTHQcZK~XMkiW0hdGxLMjZkv1zb5ipx4REO8Sh5N8TJjjjzynqO-bPPNq5zE6wC9dmbzR0chBxqZ4JWREEMhoS4O5lokDt~VIUbo0Iz1tx54zu9vPcekDvx5AnMQxvDmF-UhprgFIxO5Z9WAQdrxq4U4Qxk5s6UkICHUd-K1DxCw__&Key-Pair-Id=APKAIQIOJCQ5764M5VTQ HTTP/1.1
> User-Agent: curl/7.30.0
> Host: d29vzk4ow07wi7.cloudfront.net
> Accept: */*
>
< HTTP/1.1 403 Forbidden
* Server CloudFront is not blacklisted
< Server: CloudFront
< Date: Tue, 08 Apr 2014 14:19:04 GMT
< Content-Type: text/xml
< Content-Length: 110
< Connection: keep-alive
< X-Cache: Error from cloudfront
< Via: 1.1 0659b5b50958bdb5fe8081d60eb3dffc.cloudfront.net (CloudFront)
< X-Amz-Cf-Id: lTeueIeGUscIDNk0KrIyCzxsFCokDy2v-p3vrUcL7DSWKC9aCeYCwA==
<
* Connection #0 to host d29vzk4ow07wi7.cloudfront.net left intact
<?xml version="1.0" encoding="UTF-8"?><Error><Code>AccessDenied</Code><Message>Access denied</Message></Error>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment