Playing around with Zend_Test and phpunit and I noticed that getHeaders and getRawHeaders always return an empty array. I can verify that if I go directly to the page and look at the response I get back with one of the browser tools like Firebug, there are headers there including Content-Type (the one I was looking for). But the assertion fails and getHeaders and getRawHeaders both return an empty array. Most of the other functions I've tried seem to work, except for those two.