Skip to content

Instantly share code, notes, and snippets.

@CrabDude
Created January 20, 2012 22:02
Show Gist options
  • Save CrabDude/1649844 to your computer and use it in GitHub Desktop.
Save CrabDude/1649844 to your computer and use it in GitHub Desktop.
Request Issue #160 - Curl response
$ curl -v -L https://XXXX:[email protected]/api/v1/apps/63320/android > requestFail2.txt
* About to connect() to build.phonegap.com port 443 (#0)
* Trying 50.19.224.54... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0connected
* Connected to build.phonegap.com (50.19.224.54) port 443 (#0)
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
* subject: businessCategory=V1.0, Clause 5.(b); 1.3.6.1.4.1.311.60.2.1.3=CA; 1.3.6.1.4.1.311.60.2.1.2=British Columbia; serialNumber=BC0842667; C=CA; ST=British Columbia; L=Vancouver; O=Nitobi Software Inc.; CN=build.phonegap.com
* start date: 2010-12-16 00:00:00 GMT
* expire date: 2012-12-19 23:59:59 GMT
* subjectAltName: build.phonegap.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Assurance EV CA-1
* SSL certificate verify ok.
* Server auth using Basic with user '[email protected]'
> GET /api/v1/apps/63320/android HTTP/1.1
> Authorization: Basic YWRhbS5jcmFidHJlZUBwYWxtLmNvbTpuZXdwYXNzd29yZA==
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: build.phonegap.com
> Accept: */*
>
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0< HTTP/1.1 302 Found
< Date: Fri, 20 Jan 2012 23:26:21 GMT
< Server: Apache/2.2.14 (Ubuntu)
< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.7
< X-UA-Compatible: IE=Edge,chrome=1
< X-Runtime: 1.357521
< Cache-Control: no-cache
< Set-Cookie: _okapi_2_session=BAh7ByIbd2FyZGVuLnVzZXIucGVyc29uLmtleVsIIgtQZXJzb25bBmkCCIQiIiQyYSQxMCRsUWVjMUFjVzdWUm9UTE1CWkF5RTEuIg9zZXNzaW9uX2lkIiVjMDEyZWJkMDdlMTE1YWRmZTc0NzQwYWI3MzYyOWQ2YQ%3D%3D--738b4c337cd4a2e8487d2a648f1d490bc7f3c53e; path=/; HttpOnly
< Location: http://s3.amazonaws.com/android.phonegap/slicehost-production/apps/63320/PhoneGap_GettingStarted-debug.apk
< Status: 302
< Transfer-Encoding: chunked
< Content-Type: application/json; charset=utf-8; charset=utf-8
<
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0* Ignoring the response-body
{ [data not shown]
100 121 0 121 0 0 61 0 --:--:-- 0:00:01 --:--:-- 65* Connection #0 to host build.phonegap.com left intact
* Issue another request to this URL: 'http://s3.amazonaws.com/android.phonegap/slicehost-production/apps/63320/PhoneGap_GettingStarted-debug.apk'
* About to connect() to s3.amazonaws.com port 80 (#1)
* Trying 205.251.242.132... connected
* Connected to s3.amazonaws.com (205.251.242.132) port 80 (#1)
> GET /android.phonegap/slicehost-production/apps/63320/PhoneGap_GettingStarted-debug.apk HTTP/1.1
> User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
> Host: s3.amazonaws.com
> Accept: */*
>
< HTTP/1.1 200 OK
< x-amz-id-2: bj+M57q6HptqIv5m09HIv33Spe5vMykwfYg5IzBUjAV/bAYMfnfJX8KJa9R07YSf
< x-amz-request-id: 4A09FF359800363A
< Date: Fri, 20 Jan 2012 23:26:24 GMT
< Last-Modified: Thu, 19 Jan 2012 22:55:40 GMT
< ETag: "9ab6b6294e8d2535705e0ea483a98f04"
< Accept-Ranges: bytes
< Content-Type: application/vnd.android.package-archive
< Content-Length: 219580
< Server: AmazonS3
<
{ [data not shown]
100 214k 100 214k 0 0 61852 0 0:00:03 0:00:03 --:--:-- 176k* Connection #1 to host s3.amazonaws.com left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]
* Closing connection #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment