Home
last modified time | relevance | path

Searched refs:InvalidURL (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/
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
438 InvalidURL, f"contain control.*{escaped_char_repr}"):
440 with self.assertRaisesRegex(InvalidURL, f"contain control.*{escaped_char_repr}"):
451 InvalidURL = http.client.InvalidURL
[all …]
Dtest_httplib.py703 self.assertRaises(client.InvalidURL, client.HTTPConnection, hp)
1850 self.assertRaises(client.InvalidURL, client.HTTPSConnection, hp)
/third_party/python/Lib/http/
Dclient.py894 raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
1227 raise InvalidURL(f"URL can't contain control characters. {url!r} "
1235 raise InvalidURL(f"URL can't contain control characters. {host!r} "
1467 class InvalidURL(HTTPException): class
/third_party/python/Doc/library/
Dhttp.client.rst162 .. exception:: InvalidURL
/third_party/python/Misc/NEWS.d/
D3.9.0a5.rst9 InvalidURL to be raised.
D3.8.0a4.rst19 http.client.InvalidURL exception to be raised.