equal
deleted
inserted
replaced
18 """abstract class for http request""" |
18 """abstract class for http request""" |
19 |
19 |
20 __docformat__ = "restructuredtext en" |
20 __docformat__ = "restructuredtext en" |
21 |
21 |
22 import Cookie |
22 import Cookie |
23 import hashlib |
23 try: |
|
24 import hashlib |
|
25 hashlib.hash |
|
26 except AttributeError: |
|
27 # python 2.5 ... |
|
28 import sha as hashlib |
24 import time |
29 import time |
25 import random |
30 import random |
26 import base64 |
31 import base64 |
27 from datetime import date |
32 from datetime import date |
28 from urlparse import urlsplit |
33 from urlparse import urlsplit |