But my original point was to check them from within the test. And the test doesn't have a request or response variable, nor header or headers. I wished to know how I can access that information from the test.
If you use the default test that gets generated with your controller,
you should be able to access the response headers via the
@response.headers hash.