Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
greubel
Level 7

Http get response code

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
0 Kudos
1 Reply
Highlighted
RokuMarkn
Level 7

Re: Http get response code

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
0 Kudos