Skip to content

Commit 91d6465

Browse files
IrynaKulakovaCopilot
authored andcommitted
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 6190a6f commit 91d6465

3 files changed

Lines changed: 0 additions & 102 deletions

File tree

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)