-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set proper Content-type #13
Labels
Comments
vakhov
added a commit
to vakhov/metrics-export-role
that referenced
this issue
Dec 28, 2024
Issue tarantool#13: - JSON endpoints now return the correct Content-Type: `application/json; charset=utf-8`. Additionally: - Added tests to verify the correctness of the Content-Type header. This fix ensures proper header formatting and alignment with client expectations.
vakhov
added a commit
to vakhov/metrics-export-role
that referenced
this issue
Dec 28, 2024
Issue tarantool#13: - JSON endpoints now return the correct Content-Type: `application/json; charset=utf-8`. Additionally: - Added tests to verify the correctness of the Content-Type header. This fix ensures proper header formatting and alignment with client expectations.
vakhov
added a commit
to vakhov/metrics-export-role
that referenced
this issue
Dec 28, 2024
Issue tarantool#13: - JSON endpoints now return the correct Content-Type: `application/json; charset=utf-8`. Additionally: - Added tests to verify the correctness of the Content-Type header. This fix ensures proper header formatting and alignment with client expectations.
vakhov
added a commit
to vakhov/metrics-export-role
that referenced
this issue
Dec 28, 2024
Issue tarantool#13: - JSON endpoints now return the correct Content-Type: `application/json; charset=utf-8`. Additionally: - Added tests to verify the correctness of the Content-Type header. This fix ensures proper header formatting and alignment with client expectations.
vakhov
added a commit
to vakhov/metrics-export-role
that referenced
this issue
Dec 28, 2024
Issue tarantool#13: - JSON endpoints now return the correct Content-Type: `application/json; charset=utf-8`. Additionally: - Added tests to verify the correctness of the Content-Type header. This fix ensures proper header formatting and alignment with client expectations.
vakhov
added a commit
to vakhov/metrics-export-role
that referenced
this issue
Dec 28, 2024
Issue tarantool#13: - JSON endpoints now return the correct Content-Type: `application/json; charset=utf-8`. Additionally: - Added tests to verify the correctness of the Content-Type header. This fix ensures proper header formatting and alignment with client expectations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now, if i export metrics with json i get that output:
Content-type is
text/plain; charset=utf-8
, not json.Need to set proper Content-type.
The text was updated successfully, but these errors were encountered: