Had an error with unicode URLs failing, so included a decode, reencode
statement in the path call in line 260.