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 #266

Closed
de-ich opened this issue Jan 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@de-ich
Copy link

de-ich commented Jan 20, 2025

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.

Expected behavior
Correct (default) content type application/json is used.

Screenshots

Image

@de-ich de-ich added the bug Something isn't working label Jan 20, 2025
@de-ich
Copy link
Author

de-ich commented Jan 21, 2025

I opened this issue in the aaspe repo by accident. Recreated the issue in the server repo: eclipse-aaspe/server#364

@de-ich de-ich closed this as completed Jan 21, 2025
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