1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 05:40:54 +00:00

typo fixed

This commit is contained in:
JessonChan 2015-04-26 02:06:19 +08:00 committed by astaxie
parent 4cd7177ece
commit 69fc22f0df

View File

@ -51,7 +51,7 @@ import (
"time"
)
var defaultSetting = BeegoHttpSettings{UserAgent: "beegoServer", ConnectTimeoutt: 60 * time.Second, ReadWriteTimeout: 60 * time.Second, Gzip: true}
var defaultSetting = BeegoHttpSettings{UserAgent: "beegoServer", ConnectTimeout: 60 * time.Second, ReadWriteTimeout: 60 * time.Second, Gzip: true}
var defaultCookieJar http.CookieJar
var settingMutex sync.Mutex
@ -88,7 +88,7 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
return &BeegoHttpRequest{
url: url,
req: &req,
paras: map[string]string{},
params: map[string]string{},
files: map[string]string{},
setting: defaultSetting,
resp: &resp,