[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3881: Make CBOR usage in HTTP Storage Protocol tied to HTTP headers
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Mar 14 14:18:45 UTC 2022
#3881: Make CBOR usage in HTTP Storage Protocol tied to HTTP headers
-------------------------+---------------------------------------
Reporter: itamarst | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: HTTP Storage Protocol
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
-------------------------+---------------------------------------
1. We might want to support JSON too.
2. We should be respecting HTTP headers.
So:
* Client must set encoding header when sending CBOR.
* Client must set Accept header so it can receive CBOR.
* Server must check for the Accept header when responding in CBOR.
* Server must set encoding header when sending CBOR.
* Refactor code so anything CBOR-specific is centralized, rather than
scattered throughout the server/client implementations.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3881>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list