How would I test whether a string is a valid absolute URL? At first, I thought 
to attempt a conversion and catch the error, but then I realized that invalid 
URLs don’t always cause an error e.g. missing scheme and host return relative 
URLs with the entire string placed in the segments.

Reply via email to