Subject: | How relative is my URI? |
A lot of the time when working with URI's I need to do different things based on whether or not a URI is "absolute", "server-relative", or "path-relative".
I tend to have to write the code to check this over and over again.
It would be very useful if you could add some sort of ->is_relative method, which returns '' (false) if absolute, 'path' (true) if path-relative, or 'server' (true) if server-relative (presumably only for URI::_server subclasses.