If the user works with a library that does not send opts.protocol to the http polyfill, then defaultValue will always be http. We need at least a way to keep https as the protocol even if it does not come in options.
Haven't tested this yet, for now, is just an idea on how we might fix this issue
If the user works with a library that does not send
opts.protocol
to thehttp
polyfill, thendefaultValue
will always behttp
. We need at least a way to keephttps
as the protocol even if it does not come in options.Haven't tested this yet, for now, is just an idea on how we might fix this issue