Skip to content

Need Base64 encoding for binary attachments #21

Description

@robertcopper

I need to upload audio, video, and images as part of a multipart/form-data POST. These are best encoded in Base64.

The principal advantage is a predictable length. The request header requires a length. Is this the length of the encoded or the decoded data?

UTF-8 adds escape sequences to the data stream, which makes the length depend on the actual data, and not the size of the file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions