It is actually a useful feature to support testing HTTP methods other than GET. e.g. I have a genuine requirement to test how my application handles HEAD requests to images. Previously I could test this using testbrowser and I even blogged about it here
It is actually a useful feature to support testing HTTP methods other than GET. e.g. I have a genuine requirement to test how my application handles HEAD requests to images. Previously I could test this using testbrowser and I even blogged about it here
http:// www.scarba05. co.uk/blog/ 2012/01/ how-to- test-sending- a-http- head-request- to-plone- zope/
The code is wrong anyway. e.g. if someone passes in None do we really want to send a request to the relative url 'None'?
From the commit comment the change was made to support unicode. The attached patch should satisfy both requirements