Commit bafdb8ec by David Baumgold

make our HTTP stub services respond to HEAD requests

parent 858f3ae5
......@@ -221,6 +221,12 @@ class StubHttpRequestHandler(BaseHTTPRequestHandler, object):
format_str % args
)
def do_HEAD(self):
"""
Respond to an HTTP HEAD request
"""
self.send_response(200)
class StubHttpService(HTTPServer, object):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment