boundary/webhook_handler.py
def do_POST(self):
        """
        Handles the POST request sent by Boundary Url Action
        """
        self.send_response(urllib2.httplib.OK)
        self.end_headers()
        content_length = int(self.headers['Content-Length'])
        body = self.rfile.read(content_length)
        print("Client: {0}".format(str(self.client_address)))
        print("headers: {0}".format(self.headers))
        print("path: {0}".format(self.path))
        print("body: {0}".format(body))
def do_POST(self):
        """
        Handles the POST request sent by Boundary Url Action
        """
        self.send_response(urllib2.httplib.OK)
        self.end_headers()
        content_length = int(self.headers['Content-Length'])
        body = self.rfile.read(content_length)
        print("Client: {0}".format(str(self.client_address)))
        print("headers: {0}".format(self.headers))
        print("path: {0}".format(self.path))
        print("body: {0}".format(body))
def do_POST ( self ) : self . send_response ( urllib2 . httplib . OK ) self . end_headers ( ) content_length = int ( self . headers [ 'Content-Length' ] ) body = self . rfile . read ( content_length ) print ( "Client: {0}" . format ( str ( self . client_address ) ) ) print ( "headers: {0}" . format ( self . headers ) ) print ( "path: {0}" . format ( self . path ) ) print ( "body: {0}" . format ( body ) )
Handles the POST request sent by Boundary Url Action
Handles the POST request sent by Boundary Url Action