Updating Vary header of a previously stored response when its value differs from a 304 response
Refactored headers update routine during response validation
Refactored the middleware specs that check for headers update