File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -215,9 +215,7 @@ def _get_discovery_urls(self, server_url: str | None = None) -> list[str]:
215215 def _create_oauth_metadata_request (self , url : str ) -> httpx .Request :
216216 return httpx .Request ("GET" , url , headers = {MCP_PROTOCOL_VERSION : LATEST_PROTOCOL_VERSION })
217217
218- async def _handle_oauth_metadata_response (
219- self , response : httpx .Response
220- ) -> tuple [bool , OAuthMetadata | None ]:
218+ async def _handle_oauth_metadata_response (self , response : httpx .Response ) -> tuple [bool , OAuthMetadata | None ]:
221219 ok , metadata = await handle_auth_metadata_response (response )
222220 if metadata :
223221 self ._metadata = metadata
@@ -351,9 +349,7 @@ async def _handle_protected_resource_response(self, response: httpx.Response) ->
351349 )
352350 return False
353351
354- async def _handle_oauth_metadata_response (
355- self , response : httpx .Response
356- ) -> tuple [bool , OAuthMetadata | None ]:
352+ async def _handle_oauth_metadata_response (self , response : httpx .Response ) -> tuple [bool , OAuthMetadata | None ]:
357353 ok , asm = await super ()._handle_oauth_metadata_response (response )
358354 if asm :
359355 self .context .oauth_metadata = asm
You can’t perform that action at this time.
0 commit comments