• Wojtek Kaniewski's avatar
    Don't clear headers on redirect (#5973) · cb25fe8c
    Wojtek Kaniewski authored
    Current implementation clears _headers when request was sent. If the
    user added custom request headers, they will be lost and the redirected
    request will not contain them. This commit changes the scope of cleanup
    so that the headers survive redirects but don't survive connection
    reuse.
    cb25fe8c
HTTPClient.cpp 39.1 KB