@staticmethod
def _process_single_header(header, value):
    """
        Checks if the header's value is a templated string. If that is the case,
        the template is instantiated with the correct value. Otherwise the
        single value is returned.

        :param header: dict. Header description from endpoint.
        :param value: string. Header value

        rtype: string.
        """
    template = header.get('template')
    if template:
        return template.format(value=value)
    else:
        return value
