From 5b9ae54441d22215a1a8d3cce787562551c4270f Mon Sep 17 00:00:00 2001 From: astaxie Date: Mon, 9 Sep 2013 23:17:51 +0800 Subject: [PATCH] update input --- context/input.go | 1 + 1 file changed, 1 insertion(+) diff --git a/context/input.go b/context/input.go index 7ebe3944..bbdda3a8 100644 --- a/context/input.go +++ b/context/input.go @@ -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 }