MCPcopy Create free account
hub / github.com/pydio/cells / ApplyHTTPIncomingContextModifiers

Function ApplyHTTPIncomingContextModifiers

common/middleware/context.go:197–206  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

195}
196
197func ApplyHTTPIncomingContextModifiers(r *http.Request) (*http.Request, error) {
198 var er error
199 for _, o := range httpIncomingModifiers {
200 r, er = o(r)
201 if er != nil {
202 return nil, er
203 }
204 }
205 return r, nil
206}
207
208func setContextForService(ctx context.Context) context.Context {
209 service := "default"

Callers 4

ServeHTTPMethod · 0.92
ServeHTTPMethod · 0.92
HttpContextWrapperFunction · 0.85

Calls 1

oFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…