From 0e1434d1c75b4e8e2536c64d169e89f392405653 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 10 Feb 2020 13:43:41 -0800 Subject: add http client for streaming upload a bit lowver perofrmance. --- weed/util/http_util_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weed/util/http_util_test.go') diff --git a/weed/util/http_util_test.go b/weed/util/http_util_test.go index a8a1172d2..bf211bc4b 100644 --- a/weed/util/http_util_test.go +++ b/weed/util/http_util_test.go @@ -7,7 +7,7 @@ import ( ) func TestFasthttpClientHead(t *testing.T) { - err := Head("https://www.google.com", func(header fasthttp.ResponseHeader) { + err := Head("https://www.google.com", func(header *fasthttp.ResponseHeader) { header.VisitAll(func(key, value []byte) { println(string(key) + ": " + string(value)) }) -- cgit v1.2.3