1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 21:01:31 +00:00

update input

This commit is contained in:
astaxie 2013-09-09 23:17:51 +08:00
parent 41dd6e580d
commit 5b9ae54441

View File

@ -151,5 +151,6 @@ func (input *BeegoInput) Body() []byte {
input.req.Body.Close()
bf := bytes.NewBuffer(requestbody)
input.req.Body = ioutil.NopCloser(bf)
input.RequestBody = requestbody
return requestbody
}