- Timestamp:
- Jan 12, 2018 3:05:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/testboxconnection.py
r70548 r70560 34 34 import urllib 35 35 if sys.version_info[0] >= 3: 36 import http.client as httplib; 37 import urllib.parse as urlparse; 36 import http.client as httplib; # pylint: disable=import-error,no-name-in-module 37 import urllib.parse as urlparse; # pylint: disable=import-error,no-name-in-module 38 38 else: 39 import httplib; 40 import urlparse; 39 import httplib; # pylint: disable=import-error 40 import urlparse; # pylint: disable=import-error 41 41 42 42 # Validation Kit imports. … … 70 70 # TestBoxConnection.postRequestRaw). 71 71 ##testboxcommons.log2('SERVER RESPONSE: "%s"' % (sBody,)) 72 self._dResponse = url lib_parse_qs(sBody, strict_parsing=True);72 self._dResponse = urlparse.parse_qs(sBody, strict_parsing=True); 73 73 74 74 # Convert the dictionary from 'field:values' to 'field:value'. Fail
Note:
See TracChangeset
for help on using the changeset viewer.