aboutsummaryrefslogtreecommitdiff
path: root/weed/util/http_util_test.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-02-10 13:43:41 -0800
committerChris Lu <chris.lu@gmail.com>2020-02-10 13:43:41 -0800
commit0e1434d1c75b4e8e2536c64d169e89f392405653 (patch)
tree8fdc408ac2c8eb66ac9419af58945c49a42e24ce /weed/util/http_util_test.go
parent58f126fd27bb2f366f76f42223b93ba3b31a0bd8 (diff)
downloadseaweedfs-0e1434d1c75b4e8e2536c64d169e89f392405653.tar.xz
seaweedfs-0e1434d1c75b4e8e2536c64d169e89f392405653.zip
add http client for streaming uploadorigin/add_fasthttp_client
a bit lowver perofrmance.
Diffstat (limited to 'weed/util/http_util_test.go')
-rw-r--r--weed/util/http_util_test.go2
1 files changed, 1 insertions, 1 deletions
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))
})