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 from, Network-Path Reference URI / Scheme relative URLs

How is it possible I’ve never learned this?

ɕ

I write here most days — reflections, quotes, and working with the garage door up. This is one of more than 5,000 posts. Wander to another →

If you like the way I think, you might like what I’m reading. Every so often I send out 7 for Sunday — seven things I’ve savored, about five minutes, whenever they’re ready. No hooks, no nonsense. Read a recent issue →