Menu

  • Start here
  • Thoughts on conversation
  • Blog stream
  • A random post
  • Series
  • Photography
  • Interesting tags
  • About
Scree

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

Post navigation

Interview With Doshu K. Ueshiba
Network Engineering on Stack Exchange

Subscribe…

My weekly email
I have a free weekly email. It comes out on Sundays and contains a selection of quotes worth pondering mixed with my reflections on interesting things I find laying about. No hooks, no affiliate links, no guest posts— Here's what to expect. Like? Sign up.

Welcome!

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