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
merged 2 commits into from Feb 5, 2013

Conversation

Projects
None yet
2 participants
Owner

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
50f99fa
@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
22046e2

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

1 check passed

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