Skip to content

Provide Content-Type on non ranged/non streamed Binary Controlled endpoints #334

@DiegoPino

Description

@DiegoPino

What?

Now that AMI is stronger and better/more capable of dealing with Content-Type/extension mixes, our Binary Controller needs to provide also for normal inline-disposition Files a direct Mime-Type. We can not depend on Symfony for this since its internal Mimetype resolver is limited (e.g mode/obj will be served as text)

Also add exceptions for past wrongly provided mime types by remote sources(see #336)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions