Skip to content

Conversation

@aedmondson
Copy link
Contributor

Probably resolves #1042.

@seanmonstar
Copy link
Owner

Thanks for the PR!

This would be a breaking change, though. A fix could be to change the function to not call type_(), just return the full string.

@aedmondson
Copy link
Contributor Author

aedmondson commented Jun 3, 2023

I see, I misunderstood the comments on the issue. I'll change that now.

@aedmondson aedmondson changed the title updated Part.content_type() to return full Mime struct updated Part.content_type() to return Mime.as_ref() string Jun 3, 2023
@aedmondson
Copy link
Contributor Author

@seanmonstar This should be ready to go

@seanmonstar seanmonstar enabled auto-merge (squash) June 5, 2023 21:13
@seanmonstar seanmonstar merged commit d73dc54 into seanmonstar:master Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Part::content_type only returns the media type, not the subtype

2 participants