PostForm issues a POST to the fcgi responder, with form as a string key to a list values (url.Values)
(p map[string]string, data url.Values)
| 313 | // PostForm issues a POST to the fcgi responder, with form |
| 314 | // as a string key to a list values (url.Values) |
| 315 | func (c *client) PostForm(p map[string]string, data url.Values) (resp *http.Response, err error) { |
| 316 | body := bytes.NewReader([]byte(data.Encode())) |
| 317 | return c.Post(p, "POST", "application/x-www-form-urlencoded", body, int64(body.Len())) |
| 318 | } |
| 319 | |
| 320 | // PostFile issues a POST to the fcgi responder in multipart(RFC 2046) standard, |
| 321 | // with form as a string key to a list values (url.Values), |