title: Web API 2 RequireHttps allowing http connection
body: <p>I have created the following action in my MVC Web API 2 controller:</p>
  
  <pre><code>    [ResponseType(typeof(int))]
      [RequireHttps]
      public IHttpActionResult SaveLead(EcommerceLead lead)
      {
      }
  </code></pre>
  
  <p>But in my test app I am making a call to</p>
  
  <pre><code>http://localhost/api/savelead
  </code></pre>
  
  <p>And it is working.  Is there any way to make the action to only work if it is called over https, ie return a 404 if it isn't or something?</p>