this smells a bit. we already have the `request` object which has the url.