diff Core/HttpClient.h @ 2045:21a8ca9ad928

HttpClient::SetConvertHeadersToLowerCase
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Jun 2016 11:42:23 +0200
parents 9f61ca1e3eb3
children bcbc9137a535
line wrap: on
line diff
--- a/Core/HttpClient.h	Thu Jun 23 17:32:01 2016 +0200
+++ b/Core/HttpClient.h	Fri Jun 24 11:42:23 2016 +0200
@@ -66,6 +66,7 @@
     std::string clientCertificateKeyFile_;
     std::string clientCertificateKeyPassword_;
     bool pkcs11Enabled_;
+    bool headersToLowerCase_;
 
     void Setup();
 
@@ -232,6 +233,16 @@
       return clientCertificateKeyPassword_;
     }
 
+    void SetConvertHeadersToLowerCase(bool lowerCase)
+    {
+      headersToLowerCase_ = lowerCase;
+    }
+
+    bool IsConvertHeadersToLowerCase() const
+    {
+      return headersToLowerCase_;
+    }
+
     static void GlobalInitialize();
   
     static void GlobalFinalize();