Skip to content

Restfox should not try to render binary files #331

@lilacse

Description

@lilacse

Sometimes we test endpoints that return files, and I think in those cases Restfox should only render them if it is a file that can be displayed in the browser (text and other media types?)

Currently, using Restfox for endpoints that return a binary file (e.g. an .ods or .xlsx file) will result in this.

Image

It's not a big problem as we can still download the file with the download response function, but it does cause a bit of lag if the response file is big. I think it'll be better if Restfox can directly show a button to download the file instead of trying to render them in these cases.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions