1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/swarm/api
Janoš Guljaš 542d51895f swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238) (#15715)
* swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238)

Update URI to support bzz-hash scheme and handle such HTTP requests by
responding with hash of the content as a text/plain response.

* swarm/api: return hash of the content for bzz-hash:// requests

* swarm/api: revert "return hash of the content for bzz-hash:// requests"

Return hashes of the content that would be returned by bzz-raw
request.

* swarm/api/http: handle error in TestBzzGetPath

* swarm/api: remove extra blank line in comment
2017-12-21 14:47:10 +02:00
..
client
http swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238) (#15715) 2017-12-21 14:47:10 +02:00
testdata/test0
api.go
api_test.go
config.go
config_test.go
filesystem.go
filesystem_test.go
manifest.go
manifest_test.go
storage.go
storage_test.go
testapi.go
uri.go swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238) (#15715) 2017-12-21 14:47:10 +02:00
uri_test.go swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238) (#15715) 2017-12-21 14:47:10 +02:00