Skip to content

Custom encoding [JIRA: CLIENTS-767] #435

@ghost

Description

Can we get support to add custom encoders? At the moment, it looks like content_encoding is ignored.

Adding to the confusion is custom serialisers that are called encoders, even though they are based on content_type.

At the moment I am monkey-patching riak.content.RiakContent._serialise and _deserialise, and doing both serialisation and encoding in the one method. I've also overloaded the bucket "encoders" to handle both serialisation formats and encodings. I can send a pull request it would be helpful, but it's a fairly hacky solution at the moment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions