Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.cpp @ 2045:21a8ca9ad928
HttpClient::SetConvertHeadersToLowerCase
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 24 Jun 2016 11:42:23 +0200 |
parents | 9f61ca1e3eb3 |
children | 88831c3edd8f |
comparison
equal
deleted
inserted
replaced
2044:0f35383dd6cc | 2045:21a8ca9ad928 |
---|---|
1779 { | 1779 { |
1780 const _OrthancPluginCallHttpClient2& p = *reinterpret_cast<const _OrthancPluginCallHttpClient2*>(parameters); | 1780 const _OrthancPluginCallHttpClient2& p = *reinterpret_cast<const _OrthancPluginCallHttpClient2*>(parameters); |
1781 | 1781 |
1782 HttpClient client; | 1782 HttpClient client; |
1783 client.SetUrl(p.url); | 1783 client.SetUrl(p.url); |
1784 client.SetConvertHeadersToLowerCase(false); | |
1784 | 1785 |
1785 if (p.timeout != 0) | 1786 if (p.timeout != 0) |
1786 { | 1787 { |
1787 client.SetTimeout(p.timeout); | 1788 client.SetTimeout(p.timeout); |
1788 } | 1789 } |