# HG changeset patch # User Sebastien Jodogne # Date 1777539027 -7200 # Node ID 53b35f52cf45360a5aba9030f70178f3baa29e2f # Parent aace2087ff7ef2f74bcb573620418595a2ba21b7 updated comment diff -r aace2087ff7e -r 53b35f52cf45 NEWS --- a/NEWS Wed Apr 29 13:57:52 2026 +0200 +++ b/NEWS Thu Apr 30 10:50:27 2026 +0200 @@ -2,8 +2,9 @@ =============================== * Fix opening of viewers if Orthanc is not branched at the root of the server -* Disabled libcurl "Expect: 100-continue" header during LTI registration, - which is not properly handled by certain Moodle deployments +* Disabled "Expect: 100-continue" HTTP header during LTI registration, + which is not always properly handled by certain LTI deployments + (e.g., if HAProxy is put in front of Moodle) Version 1.1 (2025-11-07) diff -r aace2087ff7e -r 53b35f52cf45 Sources/LTI/LTIRoutes.cpp --- a/Sources/LTI/LTIRoutes.cpp Wed Apr 29 13:57:52 2026 +0200 +++ b/Sources/LTI/LTIRoutes.cpp Thu Apr 30 10:50:27 2026 +0200 @@ -554,7 +554,7 @@ * By default, libcurl adds an "Expect: 100-continue" header to * POST/PUT requests, expecting the server to acknowledge before * the body is sent. While this is valid HTTP/1.1 behavior, some - * infrastructures (notably certain Moodle deployments) do not + * deployments (e.g., if HAProxy is put in front of Moodle) do not * handle this handshake correctly, resulting in the request body * being received as empty. Explicitly setting "Expect" to an * empty string disables this mechanism and causes the body to be