NancyFx/Nancy — Issue #410: Stream at incorrect position "Post" when using "application/x-www-form-urlencoded"
Author: SimonCropp
Created: 2011-11-17 06:12:48+00:00
State: open

For a normal post the Request.Body.Position is at the start of the stream

However a request with

webRequest.ContentType = "application/x-www-form-urlencoded"

the Request.Body.Position is at the end of the stream

**Workaround**

In Post handlers put

if (Request.Body.CanSeek)
{
Request.Body.Position = 0;
}