MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / isPathLengthFallback

Method isPathLengthFallback

runtime/mux.go:560–562  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

558}
559
560func (s *ServeMux) isPathLengthFallback(r *http.Request) bool {
561 return !s.disablePathLengthFallback && r.Method == "POST" && r.Header.Get("Content-Type") == "application/x-www-form-urlencoded"
562}
563
564type handler struct {
565 pat Pattern

Callers 1

ServeHTTPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected