Skip to content
Snippets Groups Projects
Commit f9e11b15 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Remove unnecessary step from main_test.go

parent adf7680a
No related branches found
No related tags found
1 merge request!36Handle "git archive" via headers
Pipeline #
Loading
Loading
@@ -677,8 +677,6 @@ func archiveOKServer(t *testing.T, archiveName string) *httptest.Server {
}
encodedJSON := base64.StdEncoding.EncodeToString(jsonData)
w.Header().Set("Gitlab-Workhorse-Send-Data", "git-archive:"+encodedJSON)
// Prevent the Go HTTP server from setting the Content-Length to 0.
w.Header().Set("Transfer-Encoding", "chunked")
})
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment