NancyFx/Nancy — Issue #354: Request.Url.Hostname does not return expected value
Author: huyderman
Created: 2011-10-20 11:46:03+00:00
State: open

In Nancy 0.8.1 with ASPnet hosting, the `Request.Url.Hostname` returns the hostname of the client, not the hostname of the request url as expected. The problem seems to be in [NancyHandler.cs](https://github.com/NancyFx/Nancy/blob/master/src/Nancy.Hosting.Aspnet/NancyHandler.cs#L37) where `HostName` is set to `context.Request.UserHostName`, while it probably should be `context.Request.Url.Host`.