MCPcopy
hub / github.com/gofiber/fiber / setCanonical

Method setCanonical

res.go:1006–1008  ·  view source on GitHub ↗
(key, val string)

Source from the content-addressed store, hash-verified

1004}
1005
1006func (r *DefaultRes) setCanonical(key, val string) {
1007 r.c.fasthttp.Response.Header.SetCanonical(utils.UnsafeBytes(key), utils.UnsafeBytes(val))
1008}
1009
1010// Status sets the HTTP status for the response.
1011// This method is chainable.

Callers 5

AttachmentMethod · 0.95
DownloadMethod · 0.95
JSONPMethod · 0.95
LinksMethod · 0.95
LocationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected