1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 21:31:30 +00:00

bug fixed

This commit is contained in:
JessonChan 2014-08-22 17:43:05 +08:00
parent b390667374
commit 485c2e865c

View File

@ -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}
} }