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());
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());