Re: How to run cdn link in a local setup without screwed up hyperlink?
On Sat, Apr 13, 2013 at 8:15 PM, Vince Fulco <vfulco1@gmail.com> wrote:
> what is the advantage? TIA, V.
The protocol used for a '//foo' link is inferred from the protocol
used to load the page that it is referenced in. Thus you can return
the same HTML regardless of whether the page is served over http or
https.
There's a good SO post explaining the relevant RFC:
http://stackoverflow.com/questions/4071117/uri-starting-with-two-slashes-how-do-they-behave
Cheers
Tom
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home