title: Why is the request.protocol always http instead of https?
body: <p>I have this page that does a POST request:</p>
  
  <pre><code>&lt;form method="POST" action="https://staging.cathytest.com/user/signup"&gt;
      &lt;input name="data" value="tsd213guHUUDUhyusgd4314yDTSgts435dfsg" /&gt;
      &lt;input type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Then the controller action <code>signup</code> will check if the request protocol is https. I get the protocol using <code>request.protocol</code>, but it always gives me http. Can you tell me what the problem is?</p>