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

Fixed ResponseHelper not preserving Content-Type #2669

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed ResponseHelper not preserving Content-Type #2669

wants to merge 2 commits into from

Conversation

MrSmoke
Copy link

@MrSmoke MrSmoke commented May 29, 2017

response.ContentType was not being set if there are values in responseOptions.Headers, ie if using ResultFactory.GetResult.

This meant that if you set the content type to anything, it was always set as application/json

@CLAassistant
Copy link

CLAassistant commented May 29, 2017

CLA assistant check
All committers have signed the CLA.

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