aboutsummaryrefslogtreecommitdiff
path: root/header_regression_test.go
AgeCommit message (Collapse)AuthorFilesLines
2022-04-01Use %v for errors and %q for strings (#1262)v1.35.0Gravatar Erik Dubbelboer 1-1/+1
Mostly in tests.
2019-12-01Allow a body for GET requests (#703)Gravatar Erik Dubbelboer 1-6/+2
This means we can't skip parsing headers for GET requests anymore. This can be seen as good as it also allows us to reject malformed GET requests, something we didn't do before this. Performance also isn't affect much: benchmark old ns/op new ns/op delta BenchmarkClientGetEndToEnd1Inmemory-16 640 641 +0.16% BenchmarkClientGetEndToEnd10Inmemory-16 713 710 -0.42% BenchmarkClientGetEndToEnd100Inmemory-16 732 749 +2.32% BenchmarkClientGetEndToEnd1000Inmemory-16 759 774 +1.98% BenchmarkClientGetEndToEnd10KInmemory-16 785 808 +2.93% BenchmarkNetHTTPClientGetEndToEnd1Inmemory-16 5045 4954 -1.80% BenchmarkNetHTTPClientGetEndToEnd10Inmemory-16 5806 6225 +7.22% BenchmarkNetHTTPClientGetEndToEnd100Inmemory-16 7877 7998 +1.54% BenchmarkNetHTTPClientGetEndToEnd1000Inmemory-16 16603 16559 -0.27%
2019-10-16Speed up testing by running tests in parallelGravatar Erik Dubbelboer 1-0/+4
2019-05-06Added methods constants (#567)Gravatar Maxim Lebedev 1-5/+5
* :sparkles: Added methods constants * :ok_hand: Fixed methods comment due to review changes
2016-01-04Issue #28: do not set default Content-Type for empty responseGravatar Aliaksandr Valialkin 1-0/+34
2015-12-02Issue #6: Add support for PATCH method and other methods which may contain bodyGravatar Aliaksandr Valialkin 1-6/+29
2015-11-28Issue #6: Added missing testGravatar Aliaksandr Valialkin 1-0/+30