Optimize mock

This commit is contained in:
Ming Deng
2020-12-26 21:03:22 +08:00
parent 32557769fc
commit 94019c1e1d
8 changed files with 200 additions and 55 deletions

View File

@@ -62,6 +62,7 @@ var defaultSetting = BeegoHTTPSettings{
ReadWriteTimeout: 60 * time.Second,
Gzip: true,
DumpBody: true,
FilterChains: []FilterChain{mockFilter.FilterChain},
}
var defaultCookieJar http.CookieJar