Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created April 22, 2014 22:25
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 notmyname/17971ee386e7b1960eb4 to your computer and use it in GitHub Desktop.
Save notmyname/17971ee386e7b1960eb4 to your computer and use it in GitHub Desktop.
john@europa:~$ time curl -v -H "X-Auth-Token: AUTH_tk4bd24e8993d74d699f4a90236aee3602" http://saio:8080/v1/AUTH_test/c/100MB -T 100MB -XPUT* Adding handle: conn: 0x7ffb2b803a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7ffb2b803a00) send_pipe: 1, recv_pipe: 0
* About to connect() to saio port 8080 (#0)
* Trying 192.168.56.2...
* Connected to saio (192.168.56.2) port 8080 (#0)
> PUT /v1/AUTH_test/c/100MB HTTP/1.1
> User-Agent: curl/7.30.0
> Host: saio:8080
> Accept: */*
> X-Auth-Token: AUTH_tk4bd24e8993d74d699f4a90236aee3602
> Content-Length: 104857600
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 201 Created
< Last-Modified: Tue, 22 Apr 2014 22:24:26 GMT
< Content-Length: 0
< Etag: 2f282b84e7e608d5852449ed940bfc51
< Content-Type: text/html; charset=UTF-8
< X-Trans-Id: txdbb32d9ba7d1446a9dce6-005356ec19
< Date: Tue, 22 Apr 2014 22:24:29 GMT
<
* Connection #0 to host saio left intact
real 0m4.654s
user 0m0.034s
sys 0m0.226s
john@europa:~$
john@europa:~$
john@europa:~$
john@europa:~$ time curl -v -H "X-Auth-Token: AUTH_tk4bd24e8993d74d699f4a90236aee3602" http://saio:8080/v1/AUTH_test/c/100MB -T 100MB -XPUT -H "Transfer-Encoding: chunked"
* Adding handle: conn: 0x7fbe40803a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fbe40803a00) send_pipe: 1, recv_pipe: 0
* About to connect() to saio port 8080 (#0)
* Trying 192.168.56.2...
* Connected to saio (192.168.56.2) port 8080 (#0)
> PUT /v1/AUTH_test/c/100MB HTTP/1.1
> User-Agent: curl/7.30.0
> Host: saio:8080
> Accept: */*
> X-Auth-Token: AUTH_tk4bd24e8993d74d699f4a90236aee3602
> Transfer-Encoding: chunked
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< HTTP/1.1 201 Created
< Last-Modified: Tue, 22 Apr 2014 22:24:45 GMT
< Content-Length: 0
< Etag: 2f282b84e7e608d5852449ed940bfc51
< Content-Type: text/html; charset=UTF-8
< X-Trans-Id: txd7c8b3dedf814b61ac6f6-005356ec2c
< Date: Tue, 22 Apr 2014 22:24:50 GMT
<
* Connection #0 to host saio left intact
real 0m5.798s
user 0m0.050s
sys 0m0.258s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment