Arch Linux AUR build bot using nspawn container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
376 B

#!/usr/bin/env python
import tornado.ioloop
import tornado.web
import pprint
class DumpingHandler(tornado.web.RequestHandler):
def post(self):
pprint.pprint(self.request)
pprint.pprint(self.request.body.decode())
if __name__ == "__main__":
tornado.web.Application([("/.*", DumpingHandler)]).listen(8080)
tornado.ioloop.IOLoop.instance().start()