log: add log request body test

Signed-off-by: Tw <tw19881113@gmail.com>
This commit is contained in:
Tw
2016-08-18 22:37:40 +00:00
parent 1d3212a598
commit bba1059ef9
2 changed files with 59 additions and 1 deletions

View File

@ -276,5 +276,6 @@ const (
headerContentType = "Content-Type"
contentTypeJSON = "application/json"
contentTypeXML = "application/xml"
maxLogBodySize = 100 * 1024
// MaxLogBodySize limits the size of logged request's body
MaxLogBodySize = 100 * 1024
)