mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 12:34:59 -04:00
Adds misc missing type hints (#11953)
This commit is contained in:
parent
c3db7a0b59
commit
a121507cfe
9 changed files with 48 additions and 41 deletions
|
@ -544,9 +544,9 @@ class OidcProvider:
|
|||
"""
|
||||
metadata = await self.load_metadata()
|
||||
token_endpoint = metadata.get("token_endpoint")
|
||||
raw_headers = {
|
||||
raw_headers: Dict[str, str] = {
|
||||
"Content-Type": "application/x-www-form-urlencoded",
|
||||
"User-Agent": self._http_client.user_agent,
|
||||
"User-Agent": self._http_client.user_agent.decode("ascii"),
|
||||
"Accept": "application/json",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue