diff options
Diffstat (limited to 'python/gras/query')
-rw-r--r-- | python/gras/query/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/gras/query/__init__.py b/python/gras/query/__init__.py index b71b7e0..c72222b 100644 --- a/python/gras/query/__init__.py +++ b/python/gras/query/__init__.py @@ -10,6 +10,9 @@ server_registry = dict() class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): + #hide log messages to stdout by default + def log_message(self, format, *args): pass + def do_HEAD(s): s.send_response(200) s.send_header("Content-type", "text/html") |