changeset 80:53b35f52cf45

updated comment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 30 Apr 2026 10:50:27 +0200
parents aace2087ff7e
children 5a15b3b00753 0e695d856b0c
files NEWS Sources/LTI/LTIRoutes.cpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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