Menu

  • Start here
  • Current projects
  • Guidebook
  • Blog stream

Daniel Vassallo

Scheme Relative URLs

May 6, 2013

//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 from, http://stackoverflow.com/questions/3583103/network-path-reference-uri-scheme-relative-urls

How is it possible I’ve never learned this?

ɕ

SE:SO Daniel Vassallo Internet Tech

Subscribe…

7 for Sunday
A weekly serving of 7 things for you to savor.
On Sundays I send a free email containing my reflections on interesting things I find laying about, seasoned with some quotes from my collection. 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.