diff options
author | Janoš Guljaš <janos@users.noreply.github.com> | 2017-12-21 20:47:10 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-12-21 20:47:10 +0800 |
commit | 542d51895f54b9f869379cf4ad5549c82e525711 (patch) | |
tree | 4f485778b2c28de2d7c4ab446407e7f01eab9b20 /cmd | |
parent | 5258785c81959109138ebeca613f12c277188abc (diff) | |
download | dexon-542d51895f54b9f869379cf4ad5549c82e525711.tar.gz dexon-542d51895f54b9f869379cf4ad5549c82e525711.tar.zst dexon-542d51895f54b9f869379cf4ad5549c82e525711.zip |
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
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions