component/s3 — pull request #6 by viatropos (2013-09-04 23:56:12+00:00)
Title: Add `protocol` option to prevent "Mixed content" error in Firefox

If you are on an `https` domain and you try to upload to an s3 bucket under `http`, it will throw an error (at least in Firefox):

https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled-in-firefox-23/

The error looked like this:

[![https://blog.mozilla.org/security/files/2013/06/WebConsoleMixedContentOutput.jpg](https://blog.mozilla.org/security/files/2013/06/WebConsoleMixedContentOutput.jpg)](https://blog.mozilla.org/security/files/2013/06/WebConsoleMixedContentOutput.jpg)