Replies: 1 comment 1 reply
-
The correct solution for content-encoding is a bit more complex. While gzip is incredibly useful it would instead be better to expose a new op code (2 or 4) that allows setting the content-encoding in much the same way we already set the mime-type with OP_PUSH 1. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It could be interesting to allow inscription content which is already gzipped. This will be very useful for recursive inscriptions motivating inscribing smaller contents which can be referenced.
To be more precise ordinal content explorers/APIs should automatically set the
content-encoding: gzip
(and not re-gzip the content) if the mime_type of an inscription isapplication/gzip
,application/zlib
, or...+gzip
(e.g.image/png+gzip
).The
+gzip
suffix is not part of a ratified RFC, but has been proposed in a few and is commonly used.References:
Beta Was this translation helpful? Give feedback.
All reactions