MCPcopy Create free account
hub / github.com/zalando/skipper / defaultResponse

Function defaultResponse

proxy/context.go:73–80  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

71}
72
73func defaultResponse(r *http.Request) *http.Response {
74 return &http.Response{
75 StatusCode: http.StatusNotFound,
76 Header: make(http.Header),
77 Body: defaultBody(),
78 Request: r,
79 }
80}
81
82func cloneURL(u *url.URL) *url.URL {
83 uc := *u

Callers 1

ensureDefaultResponseMethod · 0.85

Calls 1

defaultBodyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…