Skip to content

Commit

Permalink
Merge pull request #1139 from L-Super/L-Super-patch-1
Browse files Browse the repository at this point in the history
fix: remove duplicate call in `Session::prepareCommonDownload()`
  • Loading branch information
COM8 authored Nov 12, 2024
2 parents d3e2786 + f19d35e commit e9033a0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cpr/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,6 @@ void Session::prepareCommonDownload() {
// Everything else:
prepareCommonShared();

// Set Header:
prepareHeader();

header_string_.clear();
if (cbs_->headercb_.callback) {
curl_easy_setopt(curl_->handle, CURLOPT_HEADERFUNCTION, cpr::util::headerUserFunction);
Expand Down

0 comments on commit e9033a0

Please sign in to comment.