I have a secure form (attribute action="https://...") in an unsecured (http) page. The purpose is to transmit data securely while avoiding mixed content warnings ("some items are unsecured") due to unsecured Google Maps element on my page.
When the form posts and succeeds, everything is fine. However, if the form fails, my user ends up on the same page but now the whole thing is secured (and generates mixed content warnings).
How can I accept secure input from a form, and still send back the same unsecured page if the form submission fails?