'Make a L{URLPath} from a L{twisted.web.http.Request}.
@param request: A L{twisted.web.http.Request} to make the L{URLPath}
from.
@return: a new L{URLPath} derived from the given request.
@rtype: L{URLPath}'

@classmethod
def fromRequest(klass, request):

    return klass.fromBytes(request.prePathURL())
