Commit 485c2e86 authored by JessonChan's avatar JessonChan

bug fixed

parent b3906673
......@@ -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}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment