Because the URL function does not know the "https://example.com". Only the web server knows it.
We do have a URL(,sign=....) option to digitally sign URLs. On Feb 8, 12:58 pm, "David J." <da...@styleflare.com> wrote: > I was wondering why URL does not include a secure flag? > > I think it should be able to set "secure" url's > > For example if you do URL("function",secure=True) > > We generate a complete URL > > https://example.com/welcome/default/function