title: Flask / Gcloud error "content must be served over HTTPS"
body: <p>I have a Flask app running on Gcloud that uses an html web page to send images to a Python script for predictions (drawing from a model saved in the root directory).</p>
  <p>When I send predictions I get the error &quot;content must be served over HTTPS&quot;.</p>
  <p>How do I configure flask to exclusively use HTTPS? My html is already using:</p>
  <pre><code>    $.post(&quot;https://0.0.0.0:5000/predict&quot;, JSON.stringify(message), function(response){
  </code></pre>
  <p>Do I need to change something in the Python as well?</p>