Commit f9e11b15 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove unnecessary step from main_test.go

parent adf7680a
......@@ -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")
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment