Skip to content

Commit

Permalink
fixing header
Browse files Browse the repository at this point in the history
  • Loading branch information
vbhagwat committed Feb 1, 2024
1 parent d0b46b5 commit cef1a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/feast/infra/registry/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ def __init__(
timeout = httpx.Timeout(5.0, connect=60.0)
transport = httpx.HTTPTransport(retries=3, verify=False)
self.base_url = registry_config.path
headers = [
headers = httpx.Headers([
("Content-Type", "application/json"),
("Client-Id", registry_config.client_id),
]
])

self.http_client = httpx.Client(
timeout=timeout, transport=transport, headers=headers
Expand Down

0 comments on commit cef1a39

Please sign in to comment.