patch sends a PATCH client request.
(url string, body io.Reader, params map[string]string)
| 168 | |
| 169 | // patch sends a PATCH client request. |
| 170 | func (s *TestingServer) patch(url string, body io.Reader, params map[string]string) (io.ReadCloser, error) { |
| 171 | return s.request("PATCH", url, body, params, map[string]string{ |
| 172 | "Cookie": s.cookie, |
| 173 | }) |
| 174 | } |
| 175 | |
| 176 | // delete sends a DELETE client request. |
| 177 | func (s *TestingServer) delete(url string, params map[string]string) (io.ReadCloser, error) { |