Skip to content
Snippets Groups Projects
Commit 0b740404 authored by fangyincheng's avatar fangyincheng
Browse files

Fix: omitted param

parent 748ed1c6
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,8 @@ func (s *Server) handlePkg(conn net.Conn) { ...@@ -93,6 +93,8 @@ func (s *Server) handlePkg(conn net.Conn) {
rsp := &http.Response{ rsp := &http.Response{
Header: header, Header: header,
StatusCode: 500, StatusCode: 500,
ProtoMajor: 1,
ProtoMinor: 1,
ContentLength: int64(len(body)), ContentLength: int64(len(body)),
Body: ioutil.NopCloser(bytes.NewReader(body)), Body: ioutil.NopCloser(bytes.NewReader(body)),
} }
......
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