log: add log request body test

Signed-off-by: Tw <tw19881113@gmail.com>
This commit is contained in:
Tw committed 2016-08-23 08:20:49 +08:00
1 parent 1d3212a598
commit bba1059ef9
2 files changed
+59 -1

No files matched your search

+2 -1
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
)