Skip to content

Commit

Permalink
For now allow Authorization headers in anticipation of the migration.…
Browse files Browse the repository at this point in the history
… (#10138)

GitOrigin-RevId: a9c11018e1c53877393e807b56deb823d0307d5b
(cherry picked from commit 1f7945f)
  • Loading branch information
Jaap Vermeulen authored and stephencpope committed Dec 21, 2021
1 parent 93ce13d commit e23f134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions descarteslabs/client/services/service/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ class from :py:class:`Session`. If not provided, the default session class
HttpStatusCode.ServiceUnavailable,
HttpStatusCode.GatewayTimeout,
],
remove_headers_on_redirect=[],
)

# We share an adapter (one per thread/process) among all clients to take advantage
Expand Down
1 change: 1 addition & 0 deletions descarteslabs/workflows/inspect/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class InspectClient(Service):
HttpStatusCode.ServiceUnavailable,
HttpStatusCode.GatewayTimeout,
],
remove_headers_on_redirect=[],
)

def __init__(self, channel=None, host=None, url=None, auth=None, retries=None):
Expand Down

0 comments on commit e23f134

Please sign in to comment.