def send()

in functions/source/cfnhelper.py [0:0]


    def send(self, status, noEcho=False):
        self.responseBody["Status"] = status
        json_responseBody = self.__jsonResponseBody()
        print("Response body:\n" + json_responseBody)
        headers = {"content-type": ""}
        try:
            response = self.http.request(
                "PUT", self.responseUrl, body=json_responseBody, headers=headers
            )
            print("Status code: {status}".format(status=response.status))
        except Exception as e:
            print(
                "send(..) failed executing http.request(..): {error}".format(
                    error=str(e)
                )
            )