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

added view eval to check for content-type before assigning a default #10

Merged

Conversation

DarthGoon
Copy link
Contributor

note:

line 54: while i was inspecting, the content-type prop was all lower-case. That's why this is all lower-case, opposed to "Content-Type".

@DarthGoon
Copy link
Contributor Author

DarthGoon commented Apr 24, 2017

@delvedor should i also bump the patch version in the package.json?
0.2.1?

Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

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

You should do the same thing here.

Can you also update the test? :)

@delvedor
Copy link
Member

@DarthGoon regarding the package.json don't worry, I'll do it before the release :)

@DarthGoon
Copy link
Contributor Author

duplicated a test for this specific use case (preserving xml content type). let me know if i should do it differently

@delvedor delvedor merged commit 2000b4f into fastify:master Apr 25, 2017
@delvedor
Copy link
Member

Released in v0.2.1, thanks for contributing!

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