Skip to content

gitserver: Avoid double HTTP response header writing

Warren Gifford requested to merge tsenart/no-double-response into main

Created by: tsenart

Avoids errors like http: superfluous response.WriteHeader call from github.com/sourcegraph/sourcegraph/cmd/gitserver/server.(*gitServiceHandler).ServeHTTP (gitservice.go:108)

Merge request reports

Loading