'Check if the passed header results in an unnamed attachment.'

def check_unnamed(self, header):

    reply = self.stubs.FakeNetworkReply(headers={'Content-Disposition': header})
    (cd_inline, cd_filename) = http.parse_content_disposition(reply)
    assert (cd_filename == DEFAULT_NAME)
    assert (not cd_inline)
