Skip Menu |
 

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 15699
Status: new
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.35
Fixed in: (no value)



Subject: How relative is my URI?
Download (untitled) / with headers
text/plain 455b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.