Commit 69fc22f0 authored by JessonChan's avatar JessonChan Committed by astaxie

typo fixed

parent 4cd7177e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment