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 (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
@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 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