Skip to content

Commit

Permalink
Merge pull request #93 from xushiwei/q
Browse files Browse the repository at this point in the history
mockhttp small fix
  • Loading branch information
xushiwei authored Feb 1, 2024
2 parents 4013f18 + e9df68c commit 5114cf5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mockhttp/mockhttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func (p *FooServer) handle(w http.ResponseWriter, req *http.Request) {
}

func (p *FooServer) postDump(w http.ResponseWriter, req *http.Request) {
// req.Body.Close()
io.Copy(w, req.Body)
}

Expand Down

0 comments on commit 5114cf5

Please sign in to comment.