-
-
Save atmos/5474535 to your computer and use it in GitHub Desktop.
rbate's tweet on curl form posting slowdown.
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
$ time curl -vv -F "foo=bar" google.com -o /dev/null | |
* About to connect() to google.com port 80 (#0) | |
* Trying 173.194.40.163... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected | |
* Connected to google.com (173.194.40.163) port 80 (#0) | |
> POST / HTTP/1.1 | |
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 | |
> Host: google.com | |
> Accept: */* | |
> Content-Length: 141 | |
> Expect: 100-continue | |
> Content-Type: multipart/form-data; boundary=----------------------------fed55d1de6fd | |
> | |
* Done waiting for 100-continue | |
0 141 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0} [data not shown] | |
< HTTP/1.1 405 Method Not Allowed | |
< Allow: GET, HEAD | |
< Date: Sat, 27 Apr 2013 20:16:36 GMT | |
< Content-Type: text/html; charset=UTF-8 | |
< Server: gws | |
< Content-Length: 959 | |
< X-XSS-Protection: 1; mode=block | |
< X-Frame-Options: SAMEORIGIN | |
* HTTP error before end of send, stop sending | |
< | |
{ [data not shown] | |
100 1100 100 959 100 141 867 127 0:00:01 0:00:01 --:--:-- 946 | |
* Closing connection #0 | |
real 0m1.115s | |
user 0m0.007s | |
sys 0m0.005s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment