Skip to content

Commit

Permalink
[formrecognizer] Fix logging test to take into account new header (#2…
Browse files Browse the repository at this point in the history
…6937)

* allow x-ms-region to be logged

* add async client
  • Loading branch information
catalinaperalta authored Oct 20, 2022
1 parent 0e39682 commit e00c844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(self, endpoint: str, credential: Union[AzureKeyCredential, TokenCre
"x-content-type-options",
"ms-azure-ai-errorcode",
"x-ms-cs-error-code",
"x-ms-region",
}
)
http_logging_policy.allowed_query_params.update(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(
"x-content-type-options",
"ms-azure-ai-errorcode",
"x-ms-cs-error-code",
"x-ms-region",
}
)
http_logging_policy.allowed_query_params.update(
Expand Down

0 comments on commit e00c844

Please sign in to comment.