(url string, authorization *Authorization, header http.Header, body io.Reader, contentLength int64)
| 29 | } |
| 30 | |
| 31 | func NewHttpPatchRequest(url string, authorization *Authorization, header http.Header, body io.Reader, contentLength int64) *HttpRequest { |
| 32 | return NewHttpRequest(http.MethodPatch, url, authorization, header, body, contentLength) |
| 33 | } |
| 34 | |
| 35 | func NewHttpRequest(method string, url string, authorization *Authorization, header http.Header, body io.Reader, contentLength int64) *HttpRequest { |
| 36 | return &HttpRequest{"HTTP/1.1", method, url, authorization, header, body, contentLength} |
no test coverage detected