Skip to content

Commit

Permalink
Set Accept header to application/json
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubFrejlach committed Oct 25, 2023
1 parent 8743089 commit dfdfdd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion component_registry_bindings/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ def __init__(self, base_url: str, verify_ssl: Union[str, bool] = True):

self.__client = AuthenticatedClient(
base_url=base_url,
headers={"User-Agent": COMPONENT_REGISTRY_BINDINGS_USERAGENT},
headers={
"User-Agent": COMPONENT_REGISTRY_BINDINGS_USERAGENT,
"Accept": "application/json",
},
verify_ssl=verify_ssl,
)

Expand Down

0 comments on commit dfdfdd4

Please sign in to comment.