Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Hotfix/restful head identifier #3671

merged 2 commits into from Feb 5, 2013


None yet
2 participants

weierophinney commented Feb 5, 2013

Fixes an issue reported by andrer in zftalk.dev (IRC). Essentially, HEAD calls with an identifier were always resetting the identifier to null, which meant that head() was never being called with the identifier. This patch (a) fixes the test to properly show that the identifier should be passed, and (b) fixes the issue.

weierophinney added some commits Feb 5, 2013

@weierophinney weierophinney Do not reset $id if found
- Pointed out by andrer in #zftalk.dev
@weierophinney weierophinney Write test for HEAD behavior with identifier
- Wrote test to prove that HEAD is being called with identifier when
  found; failed before change, and works afterwards

@ezimuel ezimuel merged commit 22046e2 into zendframework:master Feb 5, 2013

1 check passed

default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment