Skip to content

Commit d3985f7

Browse files
Remove NormalizeContentType middleware workaround
The go-sdk bump (27f29c1) includes the proper fix upstream, making the middleware unnecessary. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent eb23136 commit d3985f7

File tree

3 files changed

+0
-102
lines changed

3 files changed

+0
-102
lines changed

pkg/http/handler.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ func NewHTTPMcpHandler(
127127

128128
func (h *Handler) RegisterMiddleware(r chi.Router) {
129129
r.Use(
130-
middleware.NormalizeContentType,
131130
middleware.ExtractUserToken(h.oauthCfg),
132131
middleware.WithRequestConfig,
133132
middleware.WithMCPParse(),

pkg/http/middleware/content_type.go

Lines changed: 0 additions & 29 deletions
This file was deleted.

pkg/http/middleware/content_type_test.go

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)