Fixed split() bug in http plugin logging

Change-Id: I01432b9eaba65fcbba8cf547b932b1e81aefe1d5
This commit is contained in:
Jose Idar 2016-03-28 18:05:56 -05:00
parent 3ed77c8600
commit f6dee31d0a
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def _log_transaction(log, level=cclogging.logging.DEBUG):
if 'params' in dir(response.request):
request_params = response.request.params
elif '?' in request_url:
request_url, request_params = request_url.split('?')
request_url, request_params = request_url.split('?', 1)
logline = ''.join([
'\n{0}\nREQUEST SENT\n{0}\n'.format('-' * 12),