bee icon indicating copy to clipboard operation
bee copied to clipboard

`HEAD /bytes` does not seem to return Content Type as stated in API Docs

Open Cafe137 opened this issue 6 months ago • 0 comments

https://docs.ethswarm.org/api/#tag/Bytes/paths/~1bytes~1%7Breference%7D/head

Requests the headers containing the content type and length for the reference

The content type is always application/octet-stream. If it is irrecoverable (only available in the mantaray metadata), it should be removed from the docs.

Relevant code:

https://github.com/ethersphere/bee/blob/master/pkg/api/bytes.go#L214

Cafe137 avatar Aug 08 '24 13:08 Cafe137