Refactor 200 status check since we use it each time.
Add test for the new Vary header code.