Skip to content

Should datacontentencoding list any transformations applied to the content wrapped by the data property? #486

@ghost

Description

Proposal:

The datacontentencoding should list all the transformations that were applied to the content that is wrapped by the data property.

For example:

In the case that we're compressing and encrypting the content wrapped by the data property, we should be listing in the datacontentencoding property such transformations in the order they were applied to the data.

{
...
"datacontentencoding" : "gzip; aesgcm"
...
}

Clients will be able to reconstitute the data by applying the same transformations in the reverse order.

Another nice change would be to change the datacontentencoding from a String to a JSON array to simplified its parsing.

"datacontentencoding" : "gzip; aesgcm" vs "datacontentencoding" : ["gzip", aesgcm"]

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions