zendframework/zf2 — pull request #3442 by weierophinney (2013-01-15 20:56:15+00:00)
Title: Better content-type negotiation

- Don't pull the header value on each iteration of the loop
- Get the media type of the header value before comparisons
- Ensure there is no whitespace around the media type