Revert "修复302跳转时, 如果跨域,header不正确的问题 (#1349)"

This reverts commit 741b197f
This commit is contained in:
xiongziliang 2022-01-11 09:18:36 +08:00
parent 6636482bcf
commit 60f11df1ea

View File

@ -105,7 +105,6 @@ void HttpClient::clearResponse() {
_recved_body_size = 0; _recved_body_size = 0;
_total_body_size = 0; _total_body_size = 0;
_parser.Clear(); _parser.Clear();
_header.clear();
_chunked_splitter = nullptr; _chunked_splitter = nullptr;
_recv_timeout_ticker.resetTime(); _recv_timeout_ticker.resetTime();
_total_timeout_ticker.resetTime(); _total_timeout_ticker.resetTime();