'Checks for an explicitly listed file name. Returns a dictionary containing the
explicitly listed filename (if present), the URI, and an md5sum (if requested)'

def get_file_info(self, request, response):

    file_info = {'file_name': '', 'uri': '', 'md5sum': ''}
    content = util.getHeader(response, 'content-disposition')
    if (content and ('filename' in content)):
        text = content.split(';')
        for parm in text:
            if parm.strip().startswith('filename='):
                file_info['file_name'] = parm.split('filename=', 1)[1]
    file_info['uri'] = request.uri
    if ((self.md5sum == self.MD5) or (self.md5sum == self.MD5_EXPLICIT_FILENAME)):
        file_info['md5sum'] = self.__body_md5(response)
    return file_info
