parent
29de4e3a3d
commit
a287c2ba81
@ -366,7 +366,7 @@ func createReqBody(filePath string) (string, io.Reader, error) {
|
|||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
_ = bw.Close() // write the tail boundry
|
_ = bw.Close() // write the tail boundary
|
||||||
return bw.FormDataContentType(), buf, nil
|
return bw.FormDataContentType(), buf, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user