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

Method Get

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

Get issues a GET request to the fcgi responder.

(p map[string]string, body io.Reader, l int64)

Source from the content-addressed store, hash-verified

265
266// Get issues a GET request to the fcgi responder.
267func (c *client) Get(p map[string]string, body io.Reader, l int64) (resp *http.Response, err error) {
268 p["REQUEST_METHOD"] = "GET"
269 p["CONTENT_LENGTH"] = strconv.FormatInt(l, 10)
270
271 return c.Request(p, body)
272}
273
274// Head issues a HEAD request to the fcgi responder.
275func (c *client) Head(p map[string]string) (resp *http.Response, err error) {

Callers 2

sendFcgiFunction · 0.95
RoundTripMethod · 0.95

Calls 1

RequestMethod · 0.95

Tested by 1

sendFcgiFunction · 0.76