Skip to content


Fixed DefaultAcceptHeaderCoercionConventions #858

merged 1 commit into from

2 participants

Custodians of the Super-Duper-Happy-Path member

Changed DefaultAcceptHeaderCoercionConventions to use AcceptHeaderCoercionConventions not StaticConventions.

The human stylecop missed it in his checks :)

@grumpydev grumpydev merged commit c00dbb9 into NancyFx:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 10, 2012
  1. @jchannon

    Changed DefaultAcceptHeaderCoercionConventions to use AcceptHeaderCoe…

    jchannon committed
    …rcionConventions not StaticConventions
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Nancy/Conventions/DefaultAcceptHeaderCoercionConventions.cs
2 src/Nancy/Conventions/DefaultAcceptHeaderCoercionConventions.cs
@@ -15,7 +15,7 @@ public void Initialise(NancyConventions conventions)
public Tuple<bool, string> Validate(NancyConventions conventions)
- if (conventions.StaticContentsConventions == null)
+ if (conventions.AcceptHeaderCoercionConventions == null)
return Tuple.Create(false, "The accept header coercion conventions cannot be null.");
Something went wrong with that request. Please try again.