server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Incorrect Content-Type header 'text/plain' set for endpoint /lookup/shells

Open de-ich opened this issue 1 year ago • 0 comments

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

  1. Run the current version of the server
  2. Request the /lookup/shells endpoint, e.g. via swagger.
  3. (Optional: Set the requested Content-Type to application/json via the Accept header.)
  4. Note that the server responds with Content-Type set to text/plain.

Screenshots

Image

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


de-ich avatar Jan 21 '25 07:01 de-ich