Commit 290906ac by David Baumgold

Merge pull request #4094 from edx/db/http-stub-respond-to-HEAD

make our HTTP stub services respond to HEAD requests
parents 7c71725f bafdb8ec
......@@ -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