mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +02:00
add http client for streaming upload
a bit lowver perofrmance.
This commit is contained in:
1 parent
58f126fd27
commit
0e1434d1c7
4 files changed
+107
-73
No files matched your search
@@ -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))
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user