kubo/commands/http
Juan Batiz-Benet 814f437fb4 cmds/http/handler: set stream error trailer
stream output might break. in these cases we need to notify the
client. this is after a 200 response has been sent. We do this
by setting a special trailer (header after the body):

  X-Stream-Error: <error cause>

This is similar to what's done by systems like gRPC. This still
needs to be read + handled on the other side.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-07-24 14:49:34 -07:00
..
client.go attempt at properly closing http response bodies 2015-07-22 13:31:33 -07:00
handler_test.go Add CORS middleware handler to the API. 2015-05-08 18:41:00 -07:00
handler.go cmds/http/handler: set stream error trailer 2015-07-24 14:49:34 -07:00
multifilereader_test.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
multifilereader.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00
parse.go Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31 12:52:25 -07:00