Remove useless calls to Request.getUrl, close #582