(path string, mimeType string)
| 458 | } |
| 459 | |
| 460 | func (c *simpleClient) GetFile(path string, mimeType string) (*simpleResponse, error) { |
| 461 | return c.performRequest("GET", path, nil, func(req *http.Request) { |
| 462 | req.Header.Set("Accept", mimeType) |
| 463 | }) |
| 464 | } |
| 465 | |
| 466 | func (c *simpleClient) Delete(path string) (*simpleResponse, error) { |
| 467 | return c.performRequest("DELETE", path, nil, nil) |
no test coverage detected