Skip to content

Commit

Permalink
fix client-attestation (#176)
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Tuerk <[email protected]>
  • Loading branch information
JoTiTu authored Aug 27, 2024
1 parent adf9aa5 commit fbed0d9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ from path in field.Path.Select(path => path.TrimStart('$', '.'))
// TODO: Introduce timeout
var httpClient = _httpClientFactory.CreateClient();
httpClient.DefaultRequestHeaders.Clear();
if (clientAttestation != null)
httpClient.AddClientAttestationPopHeader(clientAttestation);

var responseMessage = await httpClient.SendAsync(message);
if (!responseMessage.IsSuccessStatusCode)
{
Expand Down

0 comments on commit fbed0d9

Please sign in to comment.