MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / NewRequest

Method NewRequest

httpheaders/conditionalheaders/factory.go:22–24  ·  view source on GitHub ↗

NewRequest creates a new Request instance from the given user request.

(req *http.Request)

Source from the content-addressed store, hash-verified

20
21// NewRequest creates a new Request instance from the given user request.
22func (p *Factory) NewRequest(req *http.Request) *Request {
23 return newFromRequest(p.config, req)
24}

Callers 15

TestCopyFromRequestFunction · 0.80
TestCopyToRequestFunction · 0.80
GETMethod · 0.80
createRequestMethod · 0.80
executeMethod · 0.80
ExecuteMethod · 0.80
TestCheckTimeoutFunction · 0.80
TestWithCORSMethod · 0.80

Calls 1

newFromRequestFunction · 0.85

Tested by 15

TestCopyFromRequestFunction · 0.64
TestCopyToRequestFunction · 0.64
createRequestMethod · 0.64
executeMethod · 0.64
TestCheckTimeoutFunction · 0.64
TestWithCORSMethod · 0.64
TestWithSecretMethod · 0.64
TestIntoSuccessMethod · 0.64