Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default MIME content type for attachment #1196

Closed
philipphofmann opened this issue Jun 25, 2021 · 1 comment · Fixed by #2443
Closed

Remove default MIME content type for attachment #1196

philipphofmann opened this issue Jun 25, 2021 · 1 comment · Fixed by #2443
Assignees
Milestone

Comments

@philipphofmann
Copy link
Member

philipphofmann commented Jun 25, 2021

The SDK sets the default MIME content type to application/octet-stream, see

NSString *const DefaultContentType = @"application/octet-stream";

The content_type is optional for the envelope item attachment spec and the backend defaults to application/octet-stream anyways. Therefore we can remove setting the default on the client-side and let the backend set the default instead.

@brustolin
Copy link
Contributor

Solved by #2443

Repository owner moved this from Backlog to Done in Mobile & Cross Platform SDK Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants