incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Antivackis" <patrick.antivac...@gmail.com>
Subject Re: couchdb as media repository ?
Date Tue, 06 Jan 2009 20:31:00 GMT
Here it is

dd count=1310720 if=/dev/zero of=dummy640M

curl -H "Content-Type: application/application/octet-stream" -H
"Transfer-Encoding: chunked" -T dummy640M localhost:5984/test/dummy640M/ -v
* About to connect() to localhost port 5984 (#0)
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 5984 (#0)
> PUT /test/dummy640M/dummy640M HTTP/1.1
> User-Agent: curl/7.19.2 (i686-pc-linux-gnu) libcurl/7.19.2 OpenSSL/0.9.7a
zlib/1.2.1.2 libidn/0.5.6
> Host: localhost:5984
> Accept: */*
> Content-Type: application/application/octet-stream
> Transfer-Encoding: chunked
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0  640M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
0} [data not shown]
100  640M    0     0  100  640M      0  35.6M  0:00:17  0:00:17 --:--:--
0< HTTP/1.1 201 Created
< Server: CouchDB/0.9.0a720208-incubating (Erlang OTP/R12B)
< Date: Tue, 06 Jan 2009 20:16:06 GMT
< Content-Type: text/plain;charset=utf-8
< Content-Length: 47
< Cache-Control: must-revalidate
<
{ [data not shown]
100  640M    0    47  100  640M      2  35.4M  0:00:18  0:00:18 --:--:--
0* Connection #0 to host localhost left intact

* Closing connection #0
{"ok":true,"id":"dummy640M","rev":"3525093556"}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message