mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
set proper Content-Type headers for RPC endpoints that return binary data: - `dag export`: application/vnd.ipld.car - `block get`: application/vnd.ipld.raw - `diag profile`: application/zip - `get`: application/x-tar or application/gzip (already worked, migrated to new API) uses the new OctetStream encoding type and SetContentType() method from go-ipfs-cmds to specify custom MIME types for binary responses. refs: https://github.com/ipfs/kubo/issues/2376 |
||
|---|---|---|
| .. | ||
| go-sleep | ||
| go-timeout | ||
| iptb | ||
| ma-pipe-unidir | ||
| pollEndpoint | ||
| dependencies.go | ||
| GNUmakefile | ||
| go.mod | ||
| go.sum | ||