MCPcopy
hub / github.com/caddyserver/caddy / Head

Method Head

modules/caddyhttp/reverseproxy/fastcgi/client.go:275–280  ·  view source on GitHub ↗

Head issues a HEAD request to the fcgi responder.

(p map[string]string)

Source from the content-addressed store, hash-verified

273
274// Head issues a HEAD request to the fcgi responder.
275func (c *client) Head(p map[string]string) (resp *http.Response, err error) {
276 p["REQUEST_METHOD"] = "HEAD"
277 p["CONTENT_LENGTH"] = "0"
278
279 return c.Request(p, nil)
280}
281
282// Options issues an OPTIONS request to the fcgi responder.
283func (c *client) Options(p map[string]string) (resp *http.Response, err error) {

Callers 1

RoundTripMethod · 0.95

Calls 1

RequestMethod · 0.95

Tested by

no test coverage detected