Skip to content

Commit

Permalink
Merge pull request #83 from immobiliare/feature/82-removeignore-setco…
Browse files Browse the repository at this point in the history
…okie-curl

#82: removed ignore condition
  • Loading branch information
malcommac authored Feb 17, 2023
2 parents ea0692f + d251e21 commit 757eda1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ public struct cURLHelper {
let configuration = client.session.configuration
var headers = HTTPHeaders()

for header in configuration.headers where header.name != "Cookie" {
for header in configuration.headers {
headers[header.name] = header.value
}

for header in request.headers where header.name != "Cookie" {
for header in request.headers {
headers[header.name] = header.value
}

Expand Down

0 comments on commit 757eda1

Please sign in to comment.