human
What is a the Python program you requested given the following:
Complete the below
def forgeHeaders(items=None):

    ''''Prepare HTTP Cookie, HTTP User-Agent and HTTP Referer headers to use when performing
    the HTTP requests'
    '''
assistant
#Here is the Python program you requested.
    items = (items or {})
    for _ in items.keys():
        if (items[_] is None):
            del items[_]
    headers = OrderedDict(conf.httpHeaders)
    headers.update(items.items())
    class _str(str, ):
        def capitalize(self):
            return _str(self)
        def title(self):
            return _str(self)
    _ = headers
    headers = OrderedDict()
    for (key, value) in _.items():
        success = False
        for _ in headers:
            if (_.upper() == key.upper()):
                del headers[_]
                break
        if (key.upper() not in (_.upper() for _ in getPublicTypeMembers(HTTP_HEADER, True))):
            try:
                headers[_str(key)] = value
            except UnicodeEncodeError:
                pass
            else:
                success = True
        if (not success):
            key = '-'.join((_.capitalize() for _ in key.split('-')))
            headers[key] = value
    if conf.cj:
        if (HTTP_HEADER.COOKIE in headers):
            for cookie in conf.cj:
                if (cookie.domain_specified and (not conf.hostname.endswith(cookie.domain))):
                    continue
                if (('%s=' % getUnicode(cookie.name)) in getUnicode(headers[HTTP_HEADER.COOKIE])):
                    if conf.loadCookies:
                        conf.httpHeaders = filter(None, ((item if (item[0] != HTTP_HEADER.COOKIE) else None) for item in conf.httpHeaders))
                    elif (kb.mergeCookies is None):
                        message = ('you    provided    a    HTTP    %s    header    value.    ' % HTTP_HEADER.COOKIE)
                        message += 'The    target    URL    provided    its    own    cookies    within    '
                        message += ('the    HTTP    %s    header    which    intersect    with    yours.    ' % HTTP_HEADER.SET_COOKIE)
                        message += 'Do    you    want    to    merge    them    in    further    requests?    [Y/n]    '
                        kb.mergeCookies = readInput(message,...