Created
August 3, 2014 06:19
-
-
Save qpfiffer/287ce1cf9cbd7116f1f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ:/tmp ls -alh test.html | |
-rw-rw-r-- 1 quinlan quinlan 116K Aug 2 23:17 test.html | |
λ:/tmp curl -d @test.html localhost:8080/oleg/test_page | |
! | |
curl: (18) transfer closed with 4 bytes remaining to read | |
λ:/tmp curl -X HEAD localhost:8080/oleg/test_page | |
λ:/tmp curl -v -X HEAD localhost:8080/oleg/test_page | |
* About to connect() to localhost port 8080 (#0) | |
* Trying 127.0.0.1... connected | |
> HEAD /oleg/test_page HTTP/1.1 | |
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 | |
> Host: localhost:8080 | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK | |
< Server: OlegDB/fresh_cuts_n_jams | |
< Content-Length: 0 | |
< Content-Type: application/x-www-form-urlencoded | |
< X-OlegDB-Rcrd-Cnt: 1 | |
< | |
* Connection #0 to host localhost left intact | |
* Closing connection #0 | |
λ:/tmp time curl localhost:8080/oleg/test_page > /dev/null | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 114k 100 114k 0 0 20.8M 0 --:--:-- --:--:-- --:--:-- 22.3M | |
real 0m0.011s | |
user 0m0.000s | |
sys 0m0.004s | |
λ:/tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment