Get issues a GET request to the fcgi responder.
(p map[string]string, body io.Reader, l int64)
| 265 | |
| 266 | // Get issues a GET request to the fcgi responder. |
| 267 | func (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. |
| 275 | func (c *client) Head(p map[string]string) (resp *http.Response, err error) { |