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

Content Negotiation in OnError pipeline #2029

Merged
merged 3 commits into from
Aug 25, 2015

Conversation

khellang
Copy link
Member

Closes #1212

@khellang khellang force-pushed the onerror-conneg branch 5 times, most recently from 0cc6df6 to ee93bf3 Compare August 25, 2015 08:15
var xmlResult = browser.Get("/", with => with.Accept("application/xml"));

var jsonResponse = jsonResult.Body.DeserializeJson<ThrowingModule.Error>();
var xmlRespnse = xmlResult.Body.DeserializeXml<ThrowingModule.Error>();
Copy link
Member

Choose a reason for hiding this comment

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

spelling error in xmlRespnse

@horsdal
Copy link
Member

horsdal commented Aug 25, 2015

Reivewed. 👍 :shipit:

phillip-haydon added a commit that referenced this pull request Aug 25, 2015
Content Negotiation in OnError pipeline
@phillip-haydon phillip-haydon merged commit 77432bf into NancyFx:master Aug 25, 2015
@phillip-haydon phillip-haydon added this to the 1.3 milestone Aug 25, 2015
@khellang khellang deleted the onerror-conneg branch August 25, 2015 09:56
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.

3 participants