Fix content headers being sent in 304 response