Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from BaseHTTPServer import BaseHTTPRequestHandler
- class MonsterBrawlHandler(BaseHTTPRequestHandler):
- ...
- def do_GET(self):
- ...
- self.send_response(200)
- self.send_header('Content-type', 'application/json')
- self.end_headers()
- self.wfile.write(responseText)
Advertisement
Add Comment
Please, Sign In to add comment