refactor(ponse) generateHeaders: isContainStr -> regExp