kubo/core/commands/dag
Marcin Rataj 673461dabc feat(rpc): add Content-Type headers for binary responses
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
2026-01-30 19:14:05 +01:00
..
dag.go feat(cli): improve ipfs dag stat output UX (#11097) 2026-01-09 18:41:10 +01:00
export.go feat(rpc): add Content-Type headers for binary responses 2026-01-30 19:14:05 +01:00
get.go feat: path consolidation (#10063) 2023-10-06 16:14:44 +02:00
import.go feat: fast provide support in dag import (#11058) 2025-11-14 21:06:25 -08:00
put.go config: introduce Import section (#10421) 2024-05-14 14:17:04 +00:00
resolve.go feat: path consolidation (#10063) 2023-10-06 16:14:44 +02:00
stat.go feat(cli): improve ipfs dag stat output UX (#11097) 2026-01-09 18:41:10 +01:00