Allow empty urls and a request method with an empty uri.