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

ISSUE-334: Provide a manual Content-Type for the plain Binary Controller #335

Merged
merged 2 commits into from
Jul 5, 2023

Conversation

DiegoPino
Copy link
Member

What?

See #334. Symfony provides its own implementation inside the ::prepare option but it is limited to a smaller/different/subset of mime types and will not work for model/obj etc leading to text. Better to use the already calculated one like we do in the ranged controller section/streamed controller section already. Tested and this does not affect any other implementation and plays well with AMI too

This also solves #333 (since I was here)

That way we can also allow non symfony default Mime Types and make AMI also happy
@DiegoPino DiegoPino added enhancement New feature or request external bug It is not us, it is them Release duties labels Jul 5, 2023
@DiegoPino DiegoPino added this to the 1.1.1 milestone Jul 5, 2023
@DiegoPino DiegoPino self-assigned this Jul 5, 2023
@DiegoPino DiegoPino merged commit 5d655be into 1.1.0 Jul 5, 2023
@DiegoPino DiegoPino deleted the ISSUE-334 branch July 5, 2023 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request external bug It is not us, it is them Release duties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant