Skip to content

Set content type without payload #5890

Description

@linear-code

It should be possible to change an item's content type without also setting its payload.

When this functionality is added, let's change the places where we set the payload just to change the content type, e.g.:

prosperodump_item
        .set_attachment_payload(Some(ContentType::OctetStream), prosperodump_item.payload());

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions