Use request.resource_url for Location's url generation.