-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Contact Details
Describe the bug
When retrieving a jpeg attachment for HandoverDocumentation V1.2 the content-type in the response headers is not set:
When retrieving a pdf attachment the content-type is set
To reproduce
- Download test AAS
- Run aaspe server using this test AAS TEST_AAS.zip
- Download jpg file using http://localhost:5001/submodels/aHR0cHM6Ly9leGFtcGxlLmNvbS9pZHMvc20vMTAyM18zMTEyXzUwNTJfNzUyNw/submodel-elements/Document_01.DocumentVersion_01.DigitalFile_01/attachment
- Check headers
- Download pdf file using http://localhost:5001/submodels/aHR0cHM6Ly9leGFtcGxlLmNvbS9pZHMvc20vMTAyM18zMTEyXzUwNTJfNzUyNw/submodel-elements/Document_02.DocumentVersion_01.DigitalFile_01/attachment
- Check headers
Expected Behaviour
The headers should be set based on the content type specified in the digital file of the shell
Version
adminshellio/aasx-server-blazor-for-demo:main
sha256:f277fa34852bbf595fddb9f764a31ed272e327421a7a5e236970762143e6d104
Operating System
Docker using Windows 10 and WSL
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


