Skip to content

Conversation

@martynsmith
Copy link
Contributor

I was having issues where the signature calculated was incorrect for GET methods that didn't have params (e.g. pusher.users_info(channel))

I discovered the reason is that the default params is being reused, and the second call to the method still has the auth_signature from the last call present (which causes this call to have an incorrectly calculated signature).

zimbatm added a commit that referenced this pull request Jun 18, 2015
Correctly handle default for Request params
@zimbatm zimbatm merged commit 7ed36a7 into pusher:master Jun 18, 2015
@zimbatm
Copy link
Contributor

zimbatm commented Jun 18, 2015

Thanks @martynsmith

@martynsmith martynsmith deleted the http_default_param_fix branch June 22, 2015 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants