Skip to content

Commit 709b07d

Browse files
Copilotomgitsads
andauthored
chore: run go mod tidy
Agent-Logs-Url: https://github.com/github/github-mcp-server/sessions/49811f97-33b0-476c-8811-419dee2a5318 Co-authored-by: omgitsads <4619+omgitsads@users.noreply.github.com>
1 parent 452637d commit 709b07d

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ github.com/lithammer/fuzzysearch v1.1.8 h1:/HIuJnjHuXS8bKaiTMeeDlW2/AyIWk2brx1V8
3939
github.com/lithammer/fuzzysearch v1.1.8/go.mod h1:IdqeyBClc3FFqSzYq/MXESsS4S0FsZ5ajtkr5xPLts4=
4040
github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk=
4141
github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA=
42-
github.com/modelcontextprotocol/go-sdk v1.5.0 h1:CHU0FIX9kpueNkxuYtfYQn1Z0slhFzBZuq+x6IiblIU=
43-
github.com/modelcontextprotocol/go-sdk v1.5.0/go.mod h1:gggDIhoemhWs3BGkGwd1umzEXCEMMvAnhTrnbXJKKKA=
4442
github.com/modelcontextprotocol/go-sdk v1.5.1-0.20260403154220-27f29c1cef3b h1:mB8zdpP8SX1TEqnEZpV2hHD30EQXivsZl4AP9hgm7F8=
4543
github.com/modelcontextprotocol/go-sdk v1.5.1-0.20260403154220-27f29c1cef3b/go.mod h1:gggDIhoemhWs3BGkGwd1umzEXCEMMvAnhTrnbXJKKKA=
4644
github.com/muesli/cache2go v0.0.0-20221011235721-518229cd8021 h1:31Y+Yu373ymebRdJN1cWLLooHH8xAr0MhKTEJGV/87g=

pkg/http/handler_test.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -639,33 +639,33 @@ func TestStaticConfigEnforcement(t *testing.T) {
639639
// and rejects requests with "application/json; charset=utf-8".
640640
func TestContentTypeHandling(t *testing.T) {
641641
tests := []struct {
642-
name string
643-
contentType string
642+
name string
643+
contentType string
644644
expectUnsupportedMedia bool
645645
}{
646646
{
647-
name: "exact application/json is accepted",
648-
contentType: "application/json",
647+
name: "exact application/json is accepted",
648+
contentType: "application/json",
649649
expectUnsupportedMedia: false,
650650
},
651651
{
652-
name: "application/json with charset=utf-8 should be accepted",
653-
contentType: "application/json; charset=utf-8",
652+
name: "application/json with charset=utf-8 should be accepted",
653+
contentType: "application/json; charset=utf-8",
654654
expectUnsupportedMedia: false,
655655
},
656656
{
657-
name: "application/json with charset=UTF-8 should be accepted",
658-
contentType: "application/json; charset=UTF-8",
657+
name: "application/json with charset=UTF-8 should be accepted",
658+
contentType: "application/json; charset=UTF-8",
659659
expectUnsupportedMedia: false,
660660
},
661661
{
662-
name: "completely wrong content type is rejected",
663-
contentType: "text/plain",
662+
name: "completely wrong content type is rejected",
663+
contentType: "text/plain",
664664
expectUnsupportedMedia: true,
665665
},
666666
{
667-
name: "empty content type is rejected",
668-
contentType: "",
667+
name: "empty content type is rejected",
668+
contentType: "",
669669
expectUnsupportedMedia: true,
670670
},
671671
}

0 commit comments

Comments
 (0)