Menu

  • start here
  • recent posts
  • series
  • photography
  • about
Skip to content

Craig Constantine

Discovery. Reflection. Efficacy.

Daniel Vassallo

Scheme Relative URLs

May 6, 2013

http://stackoverflow.com/questions/3583103/network-path-reference-uri-scheme-relative-urls

//example.com/img.png is a perfectly valid URI syntax as per RFC 3986: Section 4.2. It is relative to the current scheme, and … it can be very useful when switching between http and https, because you won’t need to explicitly specify the scheme.

~ Daniel Vassallo

How is it possible I’ve never learned this?

ɕ

Daniel Vassallo Internet Tech SE:SO

Subscribe…

Ready to think?
Sunday mornings I'll send you something thought-provoking. No hooks, no affiliate links, no guest posts— Simply a few things from my brain.



Welcome!

Start here…
Built with WordPress | Theme: Eighties by Kopepasah.