chaoflow/tpv.http — pull request #1 by jcbrand (2013-10-18 16:00:25+00:00)
Title: Bugfix. Make sure URLs are unescaped

Hi Flo

This is a fix to make sure URLs are unescaped before they are being logged.

Otherwise the % sign in the URL interferes with variable interpolation in python's
logging module.

It causes this error:

TypeError: float argument required, not dict
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
return fmt.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
record.message = record.getMessage()
File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
msg = msg % self.args

I don't know how to run tests for this package otherwise I would have done that.

Regards
JC