51
48
class SmartRequestHandler(http_server.TestingHTTPRequestHandler):
58
52
"""Hand the request off to a smart server instance."""
70
54
self.send_header("Content-type", "application/octet-stream")
75
56
# if this fails, we should return 400 bad request, but failure is
76
57
# failure for now - RBC 20060919
77
58
data_length = int(self.headers['Content-Length'])