'Check if the passed header is ignored.'

def check_ignored(self, header):

    reply = self.stubs.FakeNetworkReply(headers={'Content-Disposition': header})
    with self.caplog.at_level(logging.ERROR, 'rfc6266'):
        (cd_inline, cd_filename) = http.parse_content_disposition(reply)
    assert (cd_filename == DEFAULT_NAME)
    assert cd_inline
