fix: tests

This commit is contained in:
Julien Neuhart
2023-01-13 10:21:36 +01:00
parent 6a29385762
commit 875f97813e
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func (c client) send(body io.Reader, headers map[string]string, erroed bool) err
// Worse, the "Content-Length" header is also removed. Therefore, in
// order to keep this valuable information, we have to trust the caller
// by reading the value of the "Content-Length" entry and set it as the
// content length of the request. It's kinda sub-optimal, but hey, at
// content length of the request. It's kinda suboptimal, but hey, at
// least it works.
bodySize, err := strconv.ParseInt(contentLength, 10, 64)