Package h


package h

Hypermedea's internal action library, mostly to manipulate URIs.

  • Classes
    Class
    Description
    basic_auth_credentials(Username, Password, Header) is true if Header is the proper Authorization header value for Username / Password, as per HTTP basic authentication.
    expand_template(Tpl, [kv(Var1, Val1), kv(Var2, Val2), ...], URI) is true if URI is the result of expanding Tpl, a URI template, with the mapping provided in the second argument.
    target(URI, TargetURI) is true if TargetURI has no fragment and is equal to URI (except for the fragment).