Changeset 0a15a91bd6ea5f7bad6b35396fc28935c1da77db

Show
Ignore:
Timestamp:
03/02/07 01:55:55 (2 years ago)
Author:
KRKeegan <KRKeegan>
git-committer:
KRKeegan <KRKeegan> 1172822155 +0000
git-parent:

[5b4f0d39ad17dc62821dbf1e770522f2b85963f9]

git-author:
KRKeegan <KRKeegan> 1172822155 +0000
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/video/video.py

    r391f266 r0a15a91  
    1717    def SendFile(self, handler, container, name): 
    1818         
    19         #cheep hack  
     19        #No longer a 'cheep' hack :p 
    2020        if handler.headers.getheader('Range') and not handler.headers.getheader('Range') == 'bytes=0-': 
    21             handler.send_response(404) 
     21            handler.send_response(206) 
     22            handler.send_header('Connection', 'close') 
     23            handler.send_header('Content-Type', 'video/x-tivo-mpeg') 
     24            handler.send_header('Transfer-Encoding', 'chunked') 
     25            handler.send_header('Server', 'TiVo Server/1.4.257.475') 
    2226            handler.end_headers() 
    2327            return