Fix panic for multipart client

This commit is contained in:
Alexey Khit
2023-08-19 06:05:34 +03:00
parent d74be47696
commit 24637be7c2
+1
View File
@@ -50,6 +50,7 @@ func NewClient(res *http.Response) (*Client, error) {
c := &Client{
boundary: boundary,
reader: bufio.NewReader(res.Body),
res: res,
}
if err := c.probe(); err != nil {