Skip to content

Commit a4b868c

Browse files
committed
cleanup
1 parent 76b4c8e commit a4b868c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

mcpgateway/transports/streamablehttp_transport.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,6 @@ async def streamable_http_auth(scope, receive, send):
306306
scheme, credentials = get_authorization_scheme_param(authorization)
307307
if scheme.lower() == "bearer" and credentials:
308308
token = credentials
309-
310-
# # If no Bearer token in Authorization header, just allow (no auth)
311-
# if not token:
312-
# return True
313-
314-
# If token is present, verify it
315-
print("TOKEN::::", token)
316309
try:
317310
await verify_credentials(token)
318311
except Exception:

0 commit comments

Comments
 (0)