Skip to content

Fix weird request exception issue - #330

Merged
alexbainter merged 1 commit into
mainfrom
alex-329-trailing-slash-middleware-fix
Aug 12, 2026
Merged

Fix weird request exception issue#330
alexbainter merged 1 commit into
mainfrom
alex-329-trailing-slash-middleware-fix

Conversation

@alexbainter

Copy link
Copy Markdown
Collaborator

Closes #329.

Not 100% sure why, but refactoring our MCP trailing slash middleware to a pure ASGI middleware (not inheriting from BaseHTTPMiddleware) stopped the error in #329 🤷

@alexbainter
alexbainter force-pushed the alex-329-trailing-slash-middleware-fix branch from 203b3d4 to f626633 Compare August 12, 2026 18:18
@alexbainter alexbainter changed the title Fix wierd request exception issue Fix weird request exception issue Aug 12, 2026
@alexbainter
alexbainter merged commit 4b14f42 into main Aug 12, 2026
11 checks passed
@alexbainter
alexbainter deleted the alex-329-trailing-slash-middleware-fix branch August 12, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix "Exception in ASGI application"

2 participants