mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
append request headers instead of replacing (#37845)
This commit is contained in:
parent
d502745a4e
commit
2c44061a04
2 changed files with 22 additions and 1 deletions
|
@ -125,7 +125,7 @@ if ($headers) {
|
|||
default { $req_headers.Add($header.Name, $header.Value) }
|
||||
}
|
||||
}
|
||||
$client.Headers = $req_headers
|
||||
$client.Headers.Add($req_headers)
|
||||
}
|
||||
|
||||
if ($client_cert) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue