mirror of
https://github.com/astaxie/beego.git
synced 2025-07-26 11:25:32 +00:00
Merge remote-tracking branch 'upstream/develop' into develop
Conflicts: httplib/httplib.go
This commit is contained in:
@@ -83,6 +83,9 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
|
||||
var resp http.Response
|
||||
req.Method = method
|
||||
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}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user