Mercurial > hg > orthanc-stone
comparison Framework/Orthanc/Core/HttpClient.cpp @ 11:4b7e0244881f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Oct 2016 12:14:03 +0200 |
parents | 2dbe613f6c93 |
children | 9220cf4a63d5 |
comparison
equal
deleted
inserted
replaced
10:55407926aac3 | 11:4b7e0244881f |
---|---|
326 | 326 |
327 HttpClient::HttpClient() : | 327 HttpClient::HttpClient() : |
328 pimpl_(new PImpl), | 328 pimpl_(new PImpl), |
329 verifyPeers_(true), | 329 verifyPeers_(true), |
330 pkcs11Enabled_(false), | 330 pkcs11Enabled_(false), |
331 headersToLowerCase_(true) | 331 headersToLowerCase_(true), |
332 redirectionFollowed_(true) | |
332 { | 333 { |
333 Setup(); | 334 Setup(); |
334 } | 335 } |
335 | 336 |
336 | 337 |
337 HttpClient::HttpClient(const WebServiceParameters& service, | 338 HttpClient::HttpClient(const WebServiceParameters& service, |
338 const std::string& uri) : | 339 const std::string& uri) : |
339 pimpl_(new PImpl), | 340 pimpl_(new PImpl), |
340 verifyPeers_(true), | 341 verifyPeers_(true), |
341 headersToLowerCase_(true) | 342 headersToLowerCase_(true), |
343 redirectionFollowed_(true) | |
342 { | 344 { |
343 Setup(); | 345 Setup(); |
344 | 346 |
345 if (service.GetUsername().size() != 0 && | 347 if (service.GetUsername().size() != 0 && |
346 service.GetPassword().size() != 0) | 348 service.GetPassword().size() != 0) |