Options issues an OPTIONS request to the fcgi responder.
(p map[string]string)
| 281 | |
| 282 | // Options issues an OPTIONS request to the fcgi responder. |
| 283 | func (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 |