log format

This commit is contained in:
j 2016-01-24 15:35:43 +05:30
commit 35c0c02d16
2 changed files with 3 additions and 2 deletions

View file

@ -138,6 +138,7 @@ class Handler(http.server.SimpleHTTPRequestHandler):
data = b'404 - Not Found'
self.send_header('Content-Length', str(len(data)))
self.end_headers()
# FIXME: also check for limit here
self.wfile.write(data)
return
path = i.get_path()