This resolves relative URIs in the API to be resolved according to RFC 3986. This is actually very useful because when building APIs, it is hard to know a priori where they will be hosted. This allows the API to generate relative URIs (just as you would use in HTML hrefs) and have the absolute path of the URI to be resolved automatically in the "browser" (hal-browser in this case, not a web browser).
This resolves relative URIs in the API to be resolved according to RFC 3986. This is actually very useful because when building APIs, it is hard to know a priori where they will be hosted. This allows the API to generate relative URIs (just as you would use in HTML hrefs) and have the absolute path of the URI to be resolved automatically in the "browser" (hal-browser in this case, not a web browser).