mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 07:11:29 +00:00
typo fixed
This commit is contained in:
parent
cddb4fdb60
commit
0c1bb6409a
@ -51,7 +51,7 @@ import (
|
|||||||
"time"
|
"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 defaultCookieJar http.CookieJar
|
||||||
var settingMutex sync.Mutex
|
var settingMutex sync.Mutex
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
|
|||||||
return &BeegoHttpRequest{
|
return &BeegoHttpRequest{
|
||||||
url: url,
|
url: url,
|
||||||
req: &req,
|
req: &req,
|
||||||
paras: map[string]string{},
|
params: map[string]string{},
|
||||||
files: map[string]string{},
|
files: map[string]string{},
|
||||||
setting: defaultSetting,
|
setting: defaultSetting,
|
||||||
resp: &resp,
|
resp: &resp,
|
||||||
|
Loading…
Reference in New Issue
Block a user