Skip to content

Commit

Permalink
Merge pull request #61 from KapJI/headers
Browse files Browse the repository at this point in the history
Set explicit Accept-Encoding header
  • Loading branch information
simon-weber authored Nov 11, 2023
2 parents 6571ae3 + 99f94f3 commit 93a54f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gpsoauth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ def _perform_auth_request(
session.proxies = proxies
session.headers.update(
{
"User-Agent": USER_AGENT,
"Accept-Encoding": "identity",
"Content-type": "application/x-www-form-urlencoded",
"User-Agent": USER_AGENT,
}
)

Expand Down

0 comments on commit 93a54f7

Please sign in to comment.