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

Method Options

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

Options issues an OPTIONS request to the fcgi responder.

(p map[string]string)

Source from the content-addressed store, hash-verified

281
282// Options issues an OPTIONS request to the fcgi responder.
283func (c *client) Options(p map[string]string) (resp *http.Response, err error) {
284 p["REQUEST_METHOD"] = "OPTIONS"
285 p["CONTENT_LENGTH"] = "0"
286
287 return c.Request(p, nil)
288}
289
290// Post issues a POST request to the fcgi responder. with request body
291// in the format that bodyType specified

Callers 1

RoundTripMethod · 0.95

Calls 1

RequestMethod · 0.95

Tested by

no test coverage detected