5 |
5 |
6 """ |
6 """ |
7 Module implementing an URL representation suitable for Google Safe Browsing. |
7 Module implementing an URL representation suitable for Google Safe Browsing. |
8 """ |
8 """ |
9 |
9 |
|
10 import contextlib |
|
11 import hashlib |
|
12 import posixpath |
10 import re |
13 import re |
11 import posixpath |
|
12 import socket |
14 import socket |
13 import struct |
15 import struct |
14 import hashlib |
|
15 import urllib.parse |
16 import urllib.parse |
16 import contextlib |
|
17 |
17 |
18 from eric7 import Preferences |
18 from eric7 import Preferences |
19 |
19 |
20 |
20 |
21 class SafeBrowsingUrl: |
21 class SafeBrowsingUrl: |