A common? trick to avoid the protocol is a schemaless URL:
# Instead of https://example.com/foo/bar # use //example.com/foo/bar
This will use the same protocol as the origin.
In reply to Re^4: PSGI, Plack et.al.
by Corion
in thread PSGI, Plack et.al.
by McA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |