Added httpUrlRe.

This commit is contained in:
Jeremy Fincher 2004-09-29 18:51:04 +00:00
parent d147def54c
commit 3a6779bb6d
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class WebError(Exception):
# XXX We should tighten this up a bit.
urlRe = re.compile(r"(\w+://[^\])>\s]+)", re.I)
httpUrlRe = re.compile(r"https?://[^\])>\s]", re.I)
REFUSED = 'Connection refused.'
TIMED_OUT = 'Connection timed out.'