485c2e86 by JessonChan

bug fixed

1 parent b3906673
...@@ -83,9 +83,6 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest { ...@@ -83,9 +83,6 @@ func newBeegoRequest(url, method string) *BeegoHttpRequest {
83 var resp http.Response 83 var resp http.Response
84 req.Method = method 84 req.Method = method
85 req.Header = http.Header{} 85 req.Header = http.Header{}
86 req.Proto = "HTTP/1.1"
87 req.ProtoMajor = 1
88 req.ProtoMinor = 1
89 return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil} 86 return &BeegoHttpRequest{url, &req, map[string]string{}, map[string]string{}, defaultSetting, &resp, nil}
90 } 87 }
91 88
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!