11 # This code is adapted from the rfc6266.py module of qutebrowser. |
11 # This code is adapted from the rfc6266.py module of qutebrowser. |
12 # Original copyright 2014-2015 Florian Bruhin (The Compiler) |
12 # Original copyright 2014-2015 Florian Bruhin (The Compiler) |
13 # <mail@qutebrowser.org> |
13 # <mail@qutebrowser.org> |
14 # |
14 # |
15 |
15 |
16 from __future__ import unicode_literals |
|
17 |
16 |
18 import urllib.parse as parse |
17 import urllib.parse as parse |
19 import collections |
18 import collections |
20 import string |
19 import string |
21 import re |
20 import re |