aboutsummaryrefslogtreecommitdiff
path: root/http.go
AgeCommit message (Expand)AuthorFilesLines
7 daysfix: propagate body stream error to close function (#1743) (#1757)Gravatar Max Denushev 1-28/+48
7 daysrefactor: do not return error as it is always nil (#1759)Gravatar Oleksandr Redko 1-26/+18
2024-03-25refactor: rename error local variables (#1738)Gravatar Oleksandr Redko 1-8/+8
2024-03-02Enable perfsprint linter; fix up lint issues (#1727)Gravatar Oleksandr Redko 1-2/+2
2024-03-02Enable few gocritic checks; fix up issues (#1728)Gravatar Oleksandr Redko 1-5/+5
2024-02-21feat:support zstd compress and uncompressed (#1701)Gravatar Co1a 1-0/+70
2024-02-21Upgrade golangci-lint to v1.56.2; fix gocritic issues (#1722)Gravatar Oleksandr Redko 1-2/+2
2024-01-04Change empty string checks to be more idiomatic (#1684)Gravatar Oleksandr Redko 1-2/+2
2023-12-13chore: Add missing dots at the end of comments (#1677)Gravatar Oleksandr Redko 1-13/+19
2023-12-02writeBodyFixedSize: Only do an early flush if the reader is an *os.File (#1674)Gravatar Jille Timmermans 1-4/+13
2023-12-02copyZeroAlloc: Try WriteTo and ReadFrom before acquiring a buffer (#1673)Gravatar Jille Timmermans 1-0/+6
2023-11-24chore: Use 'any' instead of 'interface{}' (#1666)Gravatar Oleksandr Redko 1-1/+1
2023-10-30Allow redirect URI path to not be normalized. (#1638)Gravatar Scott Kidder 1-0/+7
2023-09-02Allow connection close for custom streams (#1603)Gravatar Armin Becher 1-1/+1
2023-08-29Enable gocritic linter; fix lint issues (#1612)Gravatar Oleksandr Redko 1-12/+16
2023-08-16Update ErrNoMultipartFormGravatar Erik Dubbelboer 1-1/+1
2023-07-08Fix round2Gravatar Erik Dubbelboer 1-23/+2
2023-07-02Auto add 'Vary' header after compression (#1585)Gravatar AutumnSun 1-0/+3
2023-06-13Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0Gravatar Oleksandr Redko 1-2/+0
2023-04-12Fixed transfer-encoding for empty chunked payload (#1536)Gravatar Abe Saiovici 1-1/+4
2023-04-05support response body stream (#1414)Gravatar Anthony-Dong 1-4/+62
2023-03-30get rid of some panics (#1526)Gravatar Moritz Poldrack 1-11/+15
2023-03-03http.go: close form file if copyZeroAlloc fails (#1498)Gravatar Oleksandr Redko 1-0/+1
2023-02-13docs: fix grammar issues and typos in comments (#1492)Gravatar Oleksandr Redko 1-1/+1
2023-02-11Refactor golangci-lint config and remove redundant nolints (#1486)Gravatar Oleksandr Redko 1-2/+2
2023-02-10Rename unexported funcs, vars to match common Go (#1488)Gravatar Oleksandr Redko 1-3/+3
2023-01-23clear dst bodyRaw before copy (#1476)Gravatar tyltr 1-1/+1
2023-01-14fix: CopyTo doesn't copy bodyraw deeply (#1471)Gravatar kinggo 1-2/+2
2022-12-25optimize: allow http head when use getonly (#1456)Gravatar kinggo 1-2/+2
2022-11-16Fix some potential pool leaks (#1433)Gravatar Andy Pan 1-1/+2
2022-11-03Request.SetTimeout (#1415)Gravatar brian-armstrong-discord 1-0/+8
2022-11-03fix form empty field error when used with pipe (#1417)Gravatar nick9822 1-1/+1
2022-10-29fix: ignore body should not set content-length of streaming (#1406)Gravatar byene0923 1-1/+5
2022-08-14Add Go 1.19 Support (#1355)v1.39.0Gravatar Aoang 1-31/+31
2022-07-29Prevent overflow and panic on large HTTP responses (#1351)Gravatar mathew 1-0/+6
2022-06-06BodyDecoded() for request and responses (#1308)Gravatar Sergey Ponomarev 1-0/+42
2022-06-05Response.ContentEncoding(): store as field and avoid using Header.SetCanonica...Gravatar Sergey Ponomarev 1-6/+6
2022-04-26Fix DoTimeout Streaming body bugv1.36.0Gravatar Erik Dubbelboer 1-0/+11
2022-04-08add nil check of req.body and resp.body on ReleaseBody (#1266)Gravatar zzzzwc 1-1/+7
2022-04-01Use %v for errors and %q for strings (#1262)v1.35.0Gravatar Erik Dubbelboer 1-2/+2
2022-03-14Read response when client closes connection #1232 (#1233)Gravatar ArminBTVS 1-0/+6
2022-03-03feature: Keep the memory usage of the service at a stable level (#1216)Gravatar Rennbon 1-0/+18
2021-12-28Release UseHostHeader in ReleaseRequest() (#1185)Gravatar Tolyar 1-0/+1
2021-12-26Fix UseHostHeader for DoTimeout + tests (#1184)Gravatar Tolyar 1-0/+2
2021-12-17Allow to set Host header for Client (#1169)Gravatar Tolyar 1-3/+11
2021-12-13Use %w to wrap errors (#1175)Gravatar Erik Dubbelboer 1-13/+13
2021-12-05Add trailer support (#1165)Gravatar ichx 1-33/+72
2021-11-08http.go: Request.SetURI() (Fix #1141) (#1148)Gravatar Sergey Ponomarev 1-0/+14
2021-10-22feat: ability to read body separate from header (#1130)Gravatar Shivansh Vij 1-9/+29
2021-10-01Improve return value reusability documentationGravatar Erik Dubbelboer 1-2/+6