Skip to content

Commit

Permalink
put accept type in http headers instead of parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
PH-KDX committed May 8, 2023
1 parent 8a2a241 commit 8e825e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flightplandb/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async def request(
) from exc

# then add it to the request headers
params["Accept"] = return_format_encoded
request_headers["Accept"] = return_format_encoded

# set auth in headers if key is provided
if key is not None:
Expand Down

0 comments on commit 8e825e2

Please sign in to comment.