add http client for streaming upload

a bit lowver perofrmance.
This commit is contained in:
Chris Lu committed 2020-02-10 13:43:41 -08:00
1 parent 58f126fd27
commit 0e1434d1c7
4 files changed
+107 -73

No files matched your search

+1 -1
View File
@@ -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))
})