Your Digital Media Has Never Looked So Good

 
greubel
Topic Author
Posts: 708
Joined: Wed Feb 10, 2010 4:21 pm

Http get response code

Sat Aug 14, 2010 12:23 pm

What is the correct HTTP response code for this get request ?

GET /some/Videos/MOV00528.m4v HTTP/1.1
Connection=close
Host=192.168.1.4:8000
User-Agent=Roku/DVP-2.6 (012.06E00693A)
Range=bytes=43393-

I was under the assumption that it should be a 206 for partial transfer.
But the Roku doesn't like it.
It wants a 200 ?????

The Roku also returns the message:
Unexpected problem (but not server timeout or HTTP error) has been detected.

A client just switch servers from a NAS to a web server running Microsoft IIS 6.0
 
User avatar
RokuMarkn
Roku Engineering
Posts: 1581
Joined: Mon Jun 09, 2008 9:20 am

Re: Http get response code

Sat Aug 14, 2010 12:51 pm

Yes, a 206 response is correct when the query specifies a byte range. The server must also return a Content-Range header, so you should verify that it's doing that correctly. If that's not the problem then there's something else wrong, but I don't think it's due to the 206 status.

--Mark

Who is online

Users browsing this forum: No registered users and 5 guests