swarm/api/http: http package refactoring 1/5 and 2/5 (#17164)

This commit is contained in:
Anton Evangelatov
2018-07-12 15:42:45 +02:00
committed by Balint Gabor
parent facf1bc9d6
commit f7d3678c28
6 changed files with 584 additions and 386 deletions

View File

@ -31,7 +31,7 @@ import (
)
func serverFunc(api *api.API) testutil.TestServer {
return swarmhttp.NewServer(api)
return swarmhttp.NewServer(api, "")
}
// TestClientUploadDownloadRaw test uploading and downloading raw data to swarm