diff --git a/src/HttpLibrary/__init__.py b/src/HttpLibrary/__init__.py index ae11328..7730956 100644 --- a/src/HttpLibrary/__init__.py +++ b/src/HttpLibrary/__init__.py @@ -278,7 +278,7 @@ def DELETE(self, url): logger.debug("Performing DELETE request on %s://%s%s" % ( self.context._scheme, self.app.host, url)) self.context.post_process_request( - self.app.delete(path, {}, self.context.request_headers) + self.app.delete(path, self.context.request_body or {}, self.context.request_headers) ) def follow_response(self):