1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 15:10:55 +00:00

fix the params

This commit is contained in:
astaxie 2015-04-08 23:00:08 +08:00
parent cc5ca458ab
commit 44a39a6b3e

View File

@ -168,7 +168,7 @@ func (b *BeegoHttpRequest) Debug(isdebug bool) *BeegoHttpRequest {
}
// return the DumpRequest
func (b *BeegoHttpRequest) DumpRequest() {
func (b *BeegoHttpRequest) DumpRequest() (dump []byte, err error) {
return httputil.DumpRequest(b.req, true)
}