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
Describe the bug
I am trying to consume a resource that points to a REST API. The retrieved resource is a zip file which I am able to dowload through a get request in the navigator. When I consume the ZIP file through the connector I receive a file without extension and with incorrect encoding so I cannot unzip it. I think that it could be because the connector is returning text instead of the context of the HTTP response.
To Reproduce
Steps to reproduce the behavior:
Go to Data Consumption
Click on IDS Resources
Try to get the resource
The resource downloads without extension and with wrong format when trying to unzip it.
Expected behavior
Get a ZIP file
Desktop (please complete the following information):
OS: Docker in Windows
Browser Edge, Chrome
The text was updated successfully, but these errors were encountered:
file-type vs. mime-type doesn't fix the issue completely.
We reproduced the behavior with the UI and tried to reproduce it with the swagger ui. In latter case everything works fine. Thus, the issue might be related to the UI.
Will move the issue to the ui repo
SebastianOpriel
transferred this issue from International-Data-Spaces-Association/DataspaceConnector
Sep 16, 2022
Describe the bug
I am trying to consume a resource that points to a REST API. The retrieved resource is a zip file which I am able to dowload through a get request in the navigator. When I consume the ZIP file through the connector I receive a file without extension and with incorrect encoding so I cannot unzip it. I think that it could be because the connector is returning text instead of the context of the HTTP response.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Get a ZIP file
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: