Changeset e08b04950ca91bfe9b5725c7c58862b6d37d7188

Show
Ignore:
Timestamp:
03/11/08 00:51:21 (10 months ago)
Author:
KRKeegan <-NOSPAM-kevin@krkeegan.com>
git-committer:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1205214681 -0700
git-parent:

[6e208fcad11df64fb8cc031e4c2ba5ed6fe84f84]

git-author:
KRKeegan <-NOSPAM-kevin@krkeegan.com> 1205214681 -0700
Message:

Create cache of TiVos?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • httpserver.py

    r48e5447 re08b049  
    3636 
    3737class TivoHTTPHandler(BaseHTTPServer.BaseHTTPRequestHandler): 
     38    tivos ={} 
    3839 
    3940    def address_string(self): 
     
    4243 
    4344    def do_GET(self): 
    44  
     45        tsn = self.headers.getheader('TiVo_TCD_ID', self.headers.getheader('tsn', '')) 
     46        ip = self.address_string() 
     47        self.tivos[tsn] = ip 
     48                
    4549        basepath = unquote_plus(self.path).split('/')[1] 
    4650