server
server copied to clipboard
[Bug]: Incorrect Content-Type header 'text/plain' set for endpoint /lookup/shells
Contact Details
No response
Describe the bug
API endpoint "/lookup/shells" returns content with response header Content-Type set to text/plain instead of application/json (even if the request header Accept is explicitly set to application/json.
To reproduce
- Run the current version of the server
- Request the /lookup/shells endpoint, e.g. via swagger.
- (Optional: Set the requested Content-Type to application/json via the Accept header.)
- Note that the server responds with Content-Type set to text/plain.
Screenshots
Expected Behaviour
Correct (default) content type application/json is used.
Version
v0.3.1.217-aasV3-alpha-latest
Operating System
No response
Relevant log output