mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Added httpUrlRe.
This commit is contained in:
parent
d147def54c
commit
3a6779bb6d
@ -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.'
|
||||
|
Loading…
Reference in New Issue
Block a user