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

Method SetOriginHeaders

httpheaders/conditionalheaders/request.go:34–36  ·  view source on GitHub ↗

SetOriginHeaders sets the origin headers for the request.

(h http.Header)

Source from the content-addressed store, hash-verified

32
33// SetOriginHeaders sets the origin headers for the request.
34func (c *Request) SetOriginHeaders(h http.Header) {
35 c.originHeaders = h
36}
37
38// InjectImageRequestHeaders injects conditional headers into the source
39// image request if needed.

Callers 4

executeMethod · 0.45
executeMethod · 0.45
handleDownloadErrorMethod · 0.45

Calls

no outgoing calls

Tested by 1