mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 22:30:49 +00:00
Merge pull request #3993 from skanger/develop
fix httplib PostFile method
This commit is contained in:
commit
db2a1134ce
@ -407,6 +407,7 @@ func (b *BeegoHTTPRequest) buildURL(paramBody string) {
|
||||
}()
|
||||
b.Header("Content-Type", bodyWriter.FormDataContentType())
|
||||
b.req.Body = ioutil.NopCloser(pr)
|
||||
b.Header("Transfer-Encoding", "chunked")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user