Home
last modified time | relevance | path

Searched refs:InvalidURL (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_urllib.py389 InvalidURL = http.client.InvalidURL
391 InvalidURL, f"contain control.*{escaped_char_repr}"):
394 InvalidURL, f"contain control.*{escaped_char_repr}"):
414 InvalidURL = http.client.InvalidURL
416 InvalidURL, r"contain control.*\\r.*(found at least . .)"):
418 with self.assertRaisesRegex(InvalidURL, r"contain control.*\\n"):
436 InvalidURL = http.client.InvalidURL
[all...]
H A Dtest_httplib.py849 self.assertRaises(client.InvalidURL, client.HTTPConnection, hp)
1996 self.assertRaises(client.InvalidURL, client.HTTPSConnection, hp)
/third_party/python/Lib/http/
H A Dclient.py87 "IncompleteRead", "InvalidURL", "ImproperConnectionState",
895 raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
1231 raise InvalidURL(f"URL can't contain control characters. {url!r} "
1239 raise InvalidURL(f"URL can't contain control characters. {host!r} "
1471 class InvalidURL(HTTPException): class

Completed in 7 milliseconds