Package h
package h
Hypermedea's internal action library, mostly to manipulate URIs.
-
ClassesClassDescription
basic_auth_credentials(Username, Password, Header)is true ifHeaderis the properAuthorizationheader value forUsername/Password, as per HTTP basic authentication.expand_template(Tpl, {Var1 -> Val1, Var2 -> Val2, ...}, URI)is true ifURIis the result of expandingTpl, a URI template, with the mapping provided in the second argument.target(URI, TargetURI)is true ifTargetURIhas no fragment and is equal toURI(except for the fragment).