Excerpt from RFC2616, section 14.35.2, "Range Retrieval Requests":
"HTTP/1.1 origin servers and intermediate caches ought to support byte ranges when possible, since Range supports efficient recovery from partially failed transfers, and supports efficient partial retrieval of large entities."
I tried to request a Range from Ubuntu One server for a file stored on my Ubuntu One account, and got the following response header:
It is as if the server is fulfilling my request, telling me that range 0-143 is returned, along with a success status code (Partial content), but the body of the response is empty, and there is no Content-Length header in the returned response.
Excerpt from RFC2616, section 14.35.2, "Range Retrieval Requests":
"HTTP/1.1 origin servers and intermediate caches ought to support byte ranges when possible, since Range supports efficient recovery from partially failed transfers, and supports efficient partial retrieval of large entities."
I tried to request a Range from Ubuntu One server for a file stored on my Ubuntu One account, and got the following response header:
/===== Disposition: inline; filename=blah.txt Number: 6696 02cf5791c976c46 aaf733dc523d904 1;gzip" canonical. com:3128 (squid/2.7.STABLE7) 1.1 files.one. ubuntu. com octet-stream Encoding, Cookie canonical. com .one.ubuntu. com; httponly; Path=/; secure
Content-
Date: Mon, 21 Jan 2013 23:30:06 GMT
X-Bzr-Revision-
Etag: "sha1:7f96fcfa0
Content-Range: bytes 0-143/3909
Via: 1.0 calamansi.
Content-Type: application/
Vary: Accept-
X-Cache: MISS from calamansi.
Set-Cookie: sessionid=...; Domain=
Server: TwistedWeb/10.0.0
Last-Modified: Mon, 21 Jan 2013 23:17:05 GMT
\=====
It is as if the server is fulfilling my request, telling me that range 0-143 is returned, along with a success status code (Partial content), but the body of the response is empty, and there is no Content-Length header in the returned response.