grasp: remove superfluous status code.

This commit is contained in:
fiatjaf
2025-12-12 21:24:48 -03:00
parent 7aa5da3897
commit 658a40e16c

View File

@@ -63,7 +63,6 @@ func (gs *GraspServer) handleGitUploadPack(
w.Header().Set("Content-Type", "application/x-git-upload-pack-result")
w.Header().Set("Connection", "Keep-Alive")
w.Header().Set("Cache-Control", "no-cache, max-age=0, must-revalidate")
w.WriteHeader(200)
if err := gs.runUploadPack(w, r, repoPath, bodyReader); err != nil {
w.Header().Set("content-type", "text/plain; charset=UTF-8")