go-ethereum/swarm/api/http
Lewis Marshall b0d0fafd68 swarm/api: fix error reporting in api.Resolve (#14464)
Previously, resolve errors were being swallowed and the returned error
was a generic "not a content hash" which isn't helpful.

This updates the Resolve function to fail fast rather than only
returning an error at the end, and also adds test coverage.
2017-05-13 02:02:25 +02:00
..
roundtripper.go all: blidly swap out glog to our log15, logs need rework 2017-02-23 12:16:44 +02:00
roundtripper_test.go swarm/api: refactor and improve HTTP API (#3773) 2017-04-07 00:22:22 +02:00
server.go swarm/api: refactor and improve HTTP API (#3773) 2017-04-07 00:22:22 +02:00
server_test.go swarm/api: fix error reporting in api.Resolve (#14464) 2017-05-13 02:02:25 +02:00
templates.go all: update license information 2017-04-14 10:29:00 +02:00