Skip to content

Effective content type shows "false" when a file path with no mime type is provided #785

@255kb

Description

@255kb

Describe the bug

When providing a file path with no mime type in a response, the effective content type at the bottom shows "false".

image

It should be overwritten with the route content-type if there is one (this is working), or revert to the environment content type (this is not working).

To Reproduce

Provide a file path with no mime type (see capture above).

Mockoon version:
All

OS / OS version:
All

Metadata

Metadata

Assignees

Labels

component:appIssue related to the desktop or cloud web app

Type

No type

Projects

Status

✅ Done (ready for next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions