Skip to content

Conversation

@rafikiassumani-msft
Copy link
Contributor

Set Content Type to Plain Text if ContextType Response header is not set

This change will set the contextType response header to "text/plain; charset=utf-8" when the content-type response header is null or was not set.

Addresses #33860

@ghost ghost added area-runtime community-contribution Indicates that the PR has been added by a community member labels Jul 12, 2021
@dnfadmin
Copy link

dnfadmin commented Jul 12, 2021

CLA assistant check
All CLA requirements met.

@BrennanConroy BrennanConroy removed the community-contribution Indicates that the PR has been added by a community member label Jul 12, 2021
Copy link
Contributor

@pranavkm pranavkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I applied some of the suggestions for you to try and get this in before we branch.

@pranavkm pranavkm enabled auto-merge (squash) July 15, 2021 17:57
auto-merge was automatically disabled July 15, 2021 19:34

Head branch was pushed to by a user without write access

@rafikiassumani-msft rafikiassumani-msft merged commit 6964c50 into dotnet:main Jul 19, 2021
@ghost ghost added this to the 6.0-rc1 milestone Jul 19, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minimal APIs - return string isn't setting content type header

7 participants