

def respond(self, request):
    self.send_response(503)
    self.send_header('X-Throttle', 'throttled; next=0.01 sec')
    self.end_headers()
    self.wfile.write(b'Request Throttled!')

dataset/ETHPy150Open smartfile/client-python/tests.py HTTPThrottleRequestHandler.respond/original