Mercurial > hg > fetch
changeset 12:a99a96f67500
remove unneeded file
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 09 Nov 2011 16:07:33 -0800 |
parents | 726c3d288733 |
children | 3fee8ecd1af8 |
files | fetch/web.py |
diffstat | 1 files changed, 0 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/fetch/web.py Sun Sep 18 19:00:18 2011 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -#!/usr/bin/env python - -""" -web handler for fetch -""" - -from webob import Request, Response, exc - -class Handler(object): - - def __init__(self, **kw): - pass - - def __call__(self, environ, start_response): - request = Request(environ) - response = Response(content_type='text/plain', - body="fetch") - return response(environ, start_response) - -if __name__ == '__main__': - from wsgiref import simple_server - app = Handler() - server = simple_server.make_server(host='0.0.0.0', port=8080, app=app) - server.serve_forever() - -