mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 21:41:29 +00:00
bug fixed
This commit is contained in:
parent
b390667374
commit
485c2e865c
@ -83,9 +83,6 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
|
|||||||
var resp http.Response
|
var resp http.Response
|
||||||
req.Method = method
|
req.Method = method
|
||||||
req.Header = http.Header{}
|
req.Header = http.Header{}
|
||||||
req.Proto = "HTTP/1.1"
|
|
||||||
req.ProtoMajor = 1
|
|
||||||
req.ProtoMinor = 1
|
|
||||||
return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil}
|
return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user