- From: Mihail <hej@hot.ee>
- Date: Tue, 22 Jun 2004 12:28:37 +0300
- To: ietf-http-wg@w3.org
Hello, I'm building a webserver as a hobby and I ran into a problem while sending a file with the Content-Range directive. I have a 70634 byte file which I transfer to the client in three steps: HTTP/1.1 206 Partial Content Date: =) Server: nifnaf Last-Modified: =) Connection: Close Content-Location: http://localhost:20051/Changes/index.html Content-Length: 32768 Content-type: text/html Accept-Ranges: bytes Content-Range: bytes 0-32767/70634 HTTP/1.1 206 Partial Content Date: =) Server: nifnaf Last-Modified: =) Connection: Close Content-Location: http://localhost:20051/Changes/index.html Content-Length: 32768 Content-type: text/html Accept-Ranges: bytes Content-Range: bytes 32768-65535/70634 HTTP/1.1 206 Partial Content Date: =) Server: nifnaf Last-Modified: =) Connection: Close Content-Location: http://localhost:20051/Changes/index.html Content-Length: 5098 Content-type: text/html Accept-Ranges: bytes Content-Range: bytes 65536-70633/70634 The problem is that only the first segment (0-32767/70634) is being displayed in the browser. My question is whether the server has authority to specify Content-Range without the client's Range request and still hope that the content will be fully recieved? Thanks, Mihail
Received on Tuesday, 22 June 2004 05:28:29 UTC