summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
83d2249)
Change-Id: I61dd313a947a9fa857f0dca849bfd8294aeedae0
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
# do extra logging if status code is not 200 (OK)
if req.status_code is not requests.codes.ok:
# do extra logging if status code is not 200 (OK)
if req.status_code is not requests.codes.ok:
'type {0} encoding: {1} text: {2} headers: {3} history: {4}'.format(req.headers['content-type'],
req.encoding, req.text,
req.headers, req.history))
'type {0} encoding: {1} text: {2} headers: {3} history: {4}'.format(req.headers['content-type'],
req.encoding, req.text,
req.headers, req.history))