@staticmethod
def _convert_to_header_convention(key):
    """
            convert python snakecase syntax to PascalCase with dash (-)
            ex: convert content_type to Content-Type
            ______________
            Parameters:
                key: string

        """
    capitalize = key.title()
    underscore = capitalize.replace('_', '-')
    return underscore
