|
|
|
|
63
|
try:
|
63
|
try:
|
64
|
r = self.conn.getresponse()
|
64
|
r = self.conn.getresponse()
|
65
|
assert r.status == 200, ("logging server returned error %s,"
|
65
|
assert r.status == 200, ("logging server returned error %s,"
|
66
|
- "message not logged" % r.status)
|
|
|
|
|
66
|
+ " message not logged" % r.status)
|
67
|
return_msg = r.read()
|
67
|
return_msg = r.read()
|
68
|
except httplib.BadStatusLine as e:
|
68
|
except httplib.BadStatusLine as e:
|
69
|
return_msg = ("httplib does not like this line:\n\n %s"
|
69
|
return_msg = ("httplib does not like this line:\n\n %s"
|