My Use Case
I'm working on a Cordova app, which loads its contents from the filesystem (file://). Unfortunately, this means that Segment will load its integrations over http:// instead of https://. This means my app will be loading and executing scripts insecurely.
HTTPS Everywhere
The web is on a path towards ubiquitous HTTPS. In light of this, perhaps this library should always use HTTPS rather than making a choice to use HTTP in some cases.
My Use Case
I'm working on a Cordova app, which loads its contents from the filesystem (
file://). Unfortunately, this means that Segment will load its integrations overhttp://instead ofhttps://. This means my app will be loading and executing scripts insecurely.HTTPS Everywhere
The web is on a path towards ubiquitous HTTPS. In light of this, perhaps this library should always use HTTPS rather than making a choice to use HTTP in some cases.