NancyFx/Nancy — pull request #702 by prabirshrestha (2012-08-13 13:50:00+00:00)
Title: NancyModule.RequiresHttps extension method

similar to mvc RequiresHttps attribute.

```csharp
this.RequiresHttps();
this.RequiresHttps(false);
```

By default the parameter is set to true, which means if the url is not secure and the method is get, it will redirect to https. for post/delete it will not redirect and return forbidden status.
if you set it to false it will not redirect for get too and will return forbidden status.

I also noticed that Nancy needs an easier way to clone the Url. Right now I have to manually copy properties to create a new instance of Url. Might be adding a new constructor taking Url will make it easier or implementing IClonnable interface?