f598fd0f4b
since the git command output is redirected to the http response body, the golang http server automatically adds a 200 status before sending the body. If the git command fails we cannot return an http error anymore but must close the connection to let the client know that the request failed. |
||
---|---|---|
.. | ||
handler.go |