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

frontend: Set Content-Type header in LoggingResponseWriter #677

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

mbarnes
Copy link
Collaborator

@mbarnes mbarnes commented Sep 30, 2024

What this PR does

All resource provider response content is JSON formatted.

The LoggingResponseWriter.Write method is a good centralized place to set the "Content-Type" header when there is response content.

Special notes for your reviewer

No Jira, this is just for RPC compliance. Noticed while testing.

All resource provider response content is JSON formatted.

The LoggingResponseWriter.Write method is a good centralized place
to set the Content-Type header when there is response content.
@mjlshen mjlshen enabled auto-merge (rebase) September 30, 2024 18:36
@mjlshen mjlshen merged commit c037f5b into main Sep 30, 2024
22 checks passed
@mjlshen mjlshen deleted the application-json-responses branch September 30, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants