Created
December 27, 2011 21:26
-
-
Save vinoski/1525210 to your computer and use it in GitHub Desktop.
yaws issue #75 client output
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
$ dd if=/dev/zero of=/tmp/bigfile bs=1m count=2048 | |
2048+0 records in | |
2048+0 records out | |
2147483648 bytes transferred in 21.450200 secs (100114855 bytes/sec) | |
$ curl -v -F 'file=@/tmp/bigfile' http://localhost:8000/tmp/upload.yaws | |
* About to connect() to localhost port 8000 (#0) | |
* Trying ::1... Connection refused | |
* Trying 127.0.0.1... connected | |
* Connected to localhost (127.0.0.1) port 8000 (#0) | |
> POST /tmp/upload.yaws 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: localhost:8000 | |
> Accept: */* | |
> Content-Length: 2147483847 | |
> Expect: 100-continue | |
> Content-Type: multipart/form-data; boundary=----------------------------559c54ac6fb2 | |
> | |
< HTTP/1.1 100 Continue | |
< Server: Yaws 1.92 | |
< Allow: GET, POST, OPTIONS, HEAD | |
< Content-Length: 0 | |
< HTTP/1.1 200 OK | |
< Server: Yaws 1.92 | |
< Date: Tue, 27 Dec 2011 21:19:54 GMT | |
< Allow: GET, POST, OPTIONS, HEAD | |
< Content-Length: 13 | |
< Content-Type: text/html | |
< | |
<p>Done</p> | |
* Connection #0 to host localhost left intact | |
* Closing connection #0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment