Activity log for bug #1103136

Date Who What changed Old value New value Message
2013-01-22 19:42:06 Raymond Hill bug added bug
2013-01-22 19:47:02 Raymond Hill summary Support the Range header REST API: Support the Range header for GET content of files
2013-01-22 20:13:29 Sidnei da Silva ubuntuone-servers: assignee Sidnei da Silva (sidnei)
2013-01-22 20:13:33 Sidnei da Silva ubuntuone-servers: importance Undecided Medium
2013-01-22 20:14:15 Sidnei da Silva information type Proprietary Public
2013-01-22 21:45:09 Raymond Hill description 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: /===== Content-Disposition: inline; filename=blah.txt Date: Mon, 21 Jan 2013 23:30:06 GMT X-Bzr-Revision-Number: 6696 Etag: "sha1:7f96fcfa002cf5791c976c46aaf733dc523d9041;gzip" Content-Range: bytes 0-143/3909 Via: 1.0 calamansi.canonical.com:3128 (squid/2.7.STABLE7) 1.1 files.one.ubuntu.com Content-Type: application/octet-stream Vary: Accept-Encoding,Cookie X-Cache: MISS from calamansi.canonical.com Set-Cookie: sessionid=...; Domain=.one.ubuntu.com; httponly; Path=/; secure 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. 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: /===== Content-Disposition: inline; filename=blah.txt Date: Mon, 21 Jan 2013 23:30:06 GMT X-Bzr-Revision-Number: 6696 Etag: "sha1:7f96fcfa002cf5791c976c46aaf733dc523d9041;gzip" Content-Range: bytes 0-143/3909 Via: 1.0 calamansi.canonical.com:3128 (squid/2.7.STABLE7) 1.1 files.one.ubuntu.com Content-Type: application/octet-stream Vary: Accept-Encoding,Cookie X-Cache: MISS from calamansi.canonical.com Set-Cookie: sessionid=...; Domain=.one.ubuntu.com; httponly; Path=/; secure 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 (206, which is Partial content), but the body of the response is empty, and there is no Content-Length header in the returned response.
2013-01-23 02:13:26 Sidnei da Silva ubuntuone-servers: status New Confirmed
2013-01-23 04:08:45 Dave Cheney bug added subscriber Dave Cheney
2013-01-25 17:24:37 Julien Funk tags u1-api u1-by-user u1-on-production