changeset 306:4a0b759019ac refactoring

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Jun 2019 15:34:29 +0200
parents ec6231689d89
children 5a9238e974ea
files Plugin/DicomWebClient.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/DicomWebClient.cpp	Tue Jun 18 11:45:18 2019 +0200
+++ b/Plugin/DicomWebClient.cpp	Tue Jun 18 15:34:29 2019 +0200
@@ -728,9 +728,11 @@
     {
       contentType = it->second;
     }
-    else if (key == "transfer-encoding")
+    else if (key == "transfer-encoding" ||
+             key == "content-length" ||
+             key == "connection")
     {
-      // Do not forward this header
+      // Do not forward these headers
     }
     else
     {