Decentralized Storage
Go to file
Eric Mastro 26ead9726d [rest api]: improve exception handling for `/connect` and add `content-type` header for `/download`
This PR achieves the following:
1. Improves the exception handling when dialling a peer fails or an unknown error occurs.
2. Add a `Content-Type` header to the `/download` endpoint of `application/octet-stream`, which is [defined by MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#types) as meant to be used for "generic binary data (or binary data whose true type is unknown)".

Co-authored-by: Michael Bradley <michaelsbradleyjr@gmail.com>
2022-02-04 15:38:39 +11:00
.github/workflows don't run win i386 tests 2021-11-25 09:37:12 +01:00
dagger [rest api]: improve exception handling for `/connect` and add `content-type` header for `/download` 2022-02-04 15:38:39 +11:00
tests feat: integrate dagger contracts 2022-02-04 15:34:56 +11:00
vendor feat: integrate dagger contracts 2022-02-04 15:34:56 +11:00
.editorconfig Project setup 2021-02-02 19:29:52 +01:00
.gitignore feat: integrate dagger contracts 2022-02-04 15:34:56 +11:00
.gitmodules feat: integrate dagger contracts 2022-02-04 15:34:56 +11:00
.tool-versions Poc 2 (#7) 2021-02-25 18:23:22 -06:00
Makefile adding nimbus build system 2021-11-25 09:37:12 +01:00
config.nims Node setup (#32) 2022-01-10 09:32:56 -06:00
dagger.nim Node setup (#32) 2022-01-10 09:32:56 -06:00
dagger.nimble feat: integrate dagger contracts 2022-02-04 15:34:56 +11:00
env.sh add env.sh shim to project root (#34) 2021-12-20 13:12:18 -06:00
nim.cfg Disable ObservableStores warning 2021-11-16 16:51:24 +01:00