handlers.py
changeset 49 aaa62c8e5bd5
parent 47 3d59c9eeffaa
child 50 f13cf27a360b
equal deleted inserted replaced
48:7858b7b8ffe3 49:aaa62c8e5bd5
    57         return http.Response('\n'.join(channel.source.get_latest(count)), 'text/plain')
    57         return http.Response('\n'.join(channel.source.get_latest(count)), 'text/plain')
    58     
    58     
    59     else :
    59     else :
    60         raise http.ResponseError("Unknown filetype %r" % format)
    60         raise http.ResponseError("Unknown filetype %r" % format)
    61 
    61 
    62 def channel_search (request, channel) :
    62 def channel_search (request, channel, q) :
    63     """
    63     """
    64         Display the search form for the channel for GET, or do the search for POST
    64         Display the search form for the channel for GET, or do the search for POST
    65     """
    65     """
    66 
    66 
    67     pass
    67     pass