From 746eeb13836b4b8de627b8836a5de989b876cd00 Mon Sep 17 00:00:00 2001 From: Kshitij Sobti Date: Tue, 19 May 2020 23:16:42 +0530 Subject: [PATCH] Fix LTI issues due to duplicated Content-Length header --- lms/djangoapps/lti_provider/outcomes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/lti_provider/outcomes.py b/lms/djangoapps/lti_provider/outcomes.py index 65e6c3c7d9..2582b1e991 100644 --- a/lms/djangoapps/lti_provider/outcomes.py +++ b/lms/djangoapps/lti_provider/outcomes.py @@ -168,7 +168,8 @@ def sign_and_send_replace_result(assignment, xml): consumer_key, consumer_secret, signature_method='HMAC-SHA1', - force_include_body=True + force_include_body=True, + decoding=None, ) headers = {'content-type': 'application/xml'}