We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9dfdc commit c2dd96aCopy full SHA for c2dd96a
1 file changed
eddrit/utils/oauth.py
@@ -91,12 +91,10 @@ async def oauth_before_request(
91
92
# For multi subreddits, the user-agent doesn't work so tweak it
93
if "+" in request.url.path:
94
- request.headers.encoding = "utf-8"
95
request.headers["User-Agent"] = request.headers["User-Agent"].replace(
96
- "Android", "Andr\u200boid"
+ "Android", "Amdroid"
97
)
98
99
-
100
def _get_login_headers_from_cache() -> dict[str, Any]:
101
"""
102
Get the login headers from cache
0 commit comments