Skip to content

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

Description

@de-ich

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions