Closed samstep closed 6 years ago
Great proposal, @samstep . I just pushed a stub implementation of this to the uri_commands branch. It should give you an idea of how this should be implemented. Feel free to fork and propose pull requests.
@samstep , did you have a chance to look at the branch I created in order to support this? Can I expect a code contribution?
just pushed partial URI::encode support to master.
Some of this has now been implemented
I would like request the URI namespace functionality support in TesTcl.
URI::basename - Extracts the basename part of a given uri string. URI::compare - Compares two URI's for equality. URI::decode - Returns a decoded version of a given URI. URI::encode - Returns an encoded version of a given URI. URI::host - Returns the host portion of a given URI. URI::path - Returns the path portion of the given URI. URI::port - Returns the host port from the given URI. URI::protocol - Returns the protocol of the given URI. URI::query - Returns the query string portion of the given URI or the value of a query string parameter.