emit global response headers even for empty responses