You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we are calling an API endpoint that response with correct headers and content for download a file with certain extensions the download doesn't start.
The response has the Content-Disposition and Content-Type but they are ignored and instead of downloading, the file's content is displayed, probably because the mimetype is not handled correctly.
Expected behavior
The download of the file starts and is shown the response in the UI.
Current behavior
The download of the file doesn't start and is shown also the content in the response in the UI
Steps to reproduce
Pre-requirements: having an endpoint API that can be used to download every type of file.
Call that endpoint with UI
Screenshots
Example of p7m:
Example of txt:
Your Environment
Version used: v3.0.0-beta.4 (Docusaurus version 3.1.0)
Describe the bug
When we are calling an API endpoint that response with correct headers and content for download a file with certain extensions the download doesn't start.
The response has the Content-Disposition and Content-Type but they are ignored and instead of downloading, the file's content is displayed, probably because the mimetype is not handled correctly.
Expected behavior
The download of the file starts and is shown the response in the UI.
Current behavior
The download of the file doesn't start and is shown also the content in the response in the UI
Steps to reproduce
Pre-requirements: having an endpoint API that can be used to download every type of file.
Call that endpoint with UI
Screenshots
Example of p7m:
Example of txt:
Your Environment
The text was updated successfully, but these errors were encountered: