-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify mime type for car #238
Comments
Discussion here ipfs/in-web-browsers#170 and here ipfs/kubo#8234 @olizilla advocating for getting |
Somehow related: I've been thinking about content-type header that should be returned with There are two ways:
If we go with |
Sending as Re |
We are adding support for CARs on gateways (ipfs/kubo#8758), and I'd like to resolve this. Registrations in the standards tree (without 👉 If we want to have type registered sooner than never, I agree, I am happy to submit a registration request (i also want to submit a request for
Version ParameterObvious one, makes it possible to handle versioning. So implicit / explicit CAR versions would be:
Gateway response would include an explicit version, and if one requests an unsupported version, they would get an error. Good enough?Are we happy with the above, or should we add anything else? I AM TIMEBOXING THIS TO END OF THIS WEEK, will submit registration on Friday/Monday. |
(Weakly held and brief opinions, only because I'm poked -- I don't have a ton of familiarity or deeply held concerns about MIME types --)
👍 |
@warpfork application/vnd.ipld.car
application/vnd.ipld.raw # instead of 'block' ? Note this somehow impact future things, for example (no need to make decision on json/cbor behavior right now, but flagging here): application/vnd.ipld.dag-json # instead of application/json
application/vnd.ipld.dag-cbor # instead of application/cbor |
2022-03-10: current plan is to submit this 2022-03- |
Submitted request for Click to expand```To whom it may concern: This is an automatically generated message to notify you that we have
If you have any problems accessing this page, please contact There is no need to reply to this message right now. IANA staff will If this message is in reply to a previously submitted ticket, it is To expedite processing, and ensure our staff can view the full history
You can also simply reply to this message, as this tag is already in Thank you, The Internet Assigned Numbers Authority Name: Marcin Rataj Media type name: application Required parameters: N/A Optional parameters: Encoding considerations: binary Security considerations: All processors should rigorously verify data integrity https://docs.ipfs.io/concepts/glossary/#cid Interoperability considerations: Published specification: Applications which use this media: The CAR format is intended as a serialized representation The requirement for the blocks in a CAR to form coherent DAGs Used extensively in Fragment identifier considerations: Restrictions on usage: Provisional registration? (standards tree only): Additional information:
General Comments: Person to contact for further information:
Intended usage: Common Author/Change controller: Protocol Labs https://protocol.ai
|
As of 2022-03-29, this is in "expert review" state with IANA: https://tools.iana.org/public-view/viewticket/1228646 |
Submitted updated version after the initial feedback from IANA Operations Manager. |
do we have a recommended mime type to use with car files?
The text was updated successfully, but these errors were encountered: