1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-26 12:10:49 +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
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}
}