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

RAML is served with no Content-Type #66

Closed
leonadler opened this issue Jun 8, 2017 · 0 comments
Closed

RAML is served with no Content-Type #66

leonadler opened this issue Jun 8, 2017 · 0 comments
Labels

Comments

@leonadler
Copy link

leonadler commented Jun 8, 2017

Gentics Mesh Version, operating system, or hardware.

  • Mesh v0.9.11
  • Linux
  • Oracle JDK 8

Problem

/api/v1/raml provides no Content-Type header (and therefore no encoding).
Chrome wrongly assumes windows-1252.

Reproducer

Expected: utf-8
Actual: windows-1252

Reproducer 2

  • curl http://localhost:8080/api/v1/raml -D - -o /dev/null -s | grep 'Content-Type'

Expected: application/x-yaml; charset=utf-8 or text/yaml; charset=utf-8
Actual: <empty>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants