Merge pull request #24026 from open-craft/kshitij/cri-174/fix-lti

[CRI-174] [BB-2402] Fix LTI issues due to duplicated Content-Length header
This commit is contained in:
Ned Batchelder
2020-05-19 16:21:02 -04:00
committed by GitHub

View File

@@ -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'}