I don't see any %r but besides that nothing looks wrong. Why don't you provide some information you've found while debugging, the actual response you're getting?