v5.0.65: remove req.Close (server EOF after Firefox TLS)

This commit is contained in:
“Naeel”
2026-07-01 14:53:45 +04:00
parent 7af20e6568
commit 0ea3ec8120
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -838,7 +838,7 @@ func (c *UniversalClient) doRequest(ctx context.Context, method, path string, pa
q.Set("endpoint", path)
req.URL.RawQuery = q.Encode()
req.Close = true
req.Close = false
req.Header.Set("Content-Type", "application/json")
req.Header.Set("User-Agent", userAgent)
req.Header.Set("Accept", "application/json, text/plain, */*")