Comment 5 for bug 531200

Revision history for this message
rootto (salvo-nicola) wrote :

Hi all,

I installed lucid and setup eucalyptus (walrus-1.6.2-0ubuntu25). The return code is still wrong.

In order to get the wrong error code I used the following command:

curl -H "Date: Sun, 28 Mar 2010 11:43:23RcZy5anTxlg:7EBdJdhY3CoJxrIG6eCouAPIyHk=" -L -H "content-type:" -r 0-200 -s -v http://192.168.1.69:8773/services/Walrus/ns/README

and the return msg is:

* About to connect() to 192.168.1.69 port 8773 (#0)
* Trying 192.168.1.69... connected
* Connected to 192.168.1.69 (192.168.1.69) port 8773 (#0)
> GET /services/Walrus/ns/README HTTP/1.1
> Range: bytes=0-200
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
> Host: 192.168.1.69:8773
> Accept: */*
> Date: Sun, 28 Mar 2010 11:43:23 +0000
> Authorization: AWS NyoQIMdSyMH8vaRLStAUcNistFdRcZy5anTxlg:7EBdJdhY3CoJxrIG6eCouAPIyHk=
>
< HTTP/1.1 200 OK
< Content-Length: 200
< Content-Range: 0-200/2572
< Content-Type: binary/octet-stream
< ETag: 525e3eb8ad5a75e241ea68ef3ce835d1
< Last-Modified: 2010-03-28T11:23:31.000+0000

as you can see the code is still 200 instead of 206. This represents a problem with libraries like jets3t which are checking if the partial get returns the correct code.
Thanks

Nicola