Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Json empty body behaviour #1597

Merged
merged 2 commits into from Jul 9, 2014
Merged

Conversation

albertjan
Copy link
Contributor

I tried the serializers in nancy, newtonsoft and servicestack. All three act the same for "" as for "null".

When returning a negotiator without a body. And you request json you get null back. And because of that it doesn't go by the StatusCodeHandler.

@khellang khellang added this to the 1.0Alpha milestone Jul 9, 2014
@khellang
Copy link
Member

khellang commented Jul 9, 2014

This could potentially be a breaking change.

khellang added a commit that referenced this pull request Jul 9, 2014
@khellang khellang merged commit 3f07024 into NancyFx:master Jul 9, 2014
@albertjan
Copy link
Contributor Author

We should mention it in the release notes at least.

@khellang khellang modified the milestones: 0.23.1, 1.0Alpha Jul 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants