pusher-examples
pusher-examples copied to clipboard
Event trigger returns 404 caused by double / characters
The absolute_url assumes that the self.path is not prefixed with a /, however this is not the case. This causes a connection string of: http://api-mt1.pusher.com//apps/...
https://github.com/leggetter/pusher-examples/blob/1696a2d85f6a973574a6fa48e85ddb0b28e925f5/python-gae/src/pusher/init.py#L100
https://github.com/leggetter/pusher-examples/blob/1696a2d85f6a973574a6fa48e85ddb0b28e925f5/python-gae/src/pusher/init.py#L37
This returns a 404 error
pusher response: host=api-mt1.pusher.com status=404 404 NOT FOUND
Removing the double /
character resolves the issue.