aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.91k stars 1.04k forks source link

Avoid setting Cache-Control on WinHttp client; fix setting empty headers #2998

Closed SergeyRyabinin closed 2 weeks ago

SergeyRyabinin commented 2 weeks ago

Issue #, if available: Cache-Control is always set to no-cache by WinHTTP client https://github.com/aws/aws-sdk-cpp/issues/2603 Description of changes: Do not set WINHTTP_FLAG_REFRESH if proxy is not used. Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.