From 0185bd9069e686ef70de68af4400d50427c98f8e Mon Sep 17 00:00:00 2001 From: pawezka Date: Wed, 31 May 2017 16:30:29 +0200 Subject: [PATCH] Update __init__.py --- src/HttpLibrary/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HttpLibrary/__init__.py b/src/HttpLibrary/__init__.py index ae11328..16be39c 100644 --- a/src/HttpLibrary/__init__.py +++ b/src/HttpLibrary/__init__.py @@ -278,7 +278,8 @@ 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):