The first argument is a function which will give an appropriate
URL (as a String) for a URL datatype. This is usually
constructed by a combination of formatPathSegments and the
prepending of an absolute application root.

Well behaving applications should use this function to
generating all internal URLs.