Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
de-ich opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@de-ich
Copy link

de-ich commented Jan 21, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant