fix content-encoding header checks in specs