I have net/http handlers that have defer req.Body.Close() in each on web server side.
net/http
defer req.Body.Close()
What is the correct place to put this in? Should I pu
Clarified at 2ede818, net/http states that:
For server requests, the Request Body is always non-nil but will return EOF immediately when no body is present. The Server will close the request body. The ServeHTTP Handler does not need to.