Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)
Extracts all relevant information from the MIME headers replied by
the target.

@param headers: A set of MIME headers (a string as replied by the
webserver or a previously parsed sequence of name, value tuples).
@type headers: C{str}, C{list} or C{tuple}

@raise TypeError: If headers is neither a string nor a sequence.

src/h/a/halberd-0.2.4/Halberd/clues/analysis.py   halberd(Download)
 
    for clue in clues:
        Clue.parse(clue, clue.headers)
 
    for method in ignored:

src/h/a/halberd-HEAD/Halberd/clues/analysis.py   halberd(Download)
 
    for clue in clues:
        Clue.parse(clue, clue.headers)
 
    for method in ignored:

src/h/a/halberd-0.2.4/Halberd/crew.py   halberd(Download)
        clue = Halberd.clues.Clue.Clue()
        clue.setTimestamp(timestamp)
        clue.parse(headers)
 
        return clue

src/h/a/halberd-HEAD/Halberd/crew.py   halberd(Download)
        clue = Halberd.clues.Clue.Clue()
        clue.setTimestamp(timestamp)
        clue.parse(headers)
 
        return clue

src/h/a/halberd-0.2.4/Halberd/clues/file.py   halberd(Download)
                isinstance(clue.headers, types.TupleType)):
            raise InvalidFile, 'Wrong clue header field'
        clue.parse(clue.headers)
 
        clues.append(clue)

src/h/a/halberd-HEAD/Halberd/clues/file.py   halberd(Download)
                isinstance(clue.headers, types.TupleType)):
            raise InvalidFile, 'Wrong clue header field'
        clue.parse(clue.headers)
 
        clues.append(clue)

src/h/a/halberd-HEAD/tests/test_clues_file.py   halberd(Download)
            ('Content-Language', ' en')
        ]""")
        self.clue.parse(self.clue.headers)
 
        self.filename = os.path.join('tests', 'data', 'test.clues')

src/h/a/halberd-0.2.4/tests/test_clues_file.py   halberd(Download)
            ('Content-Language', ' en')
        ]""")
        self.clue.parse(self.clue.headers)
 
        self.filename = os.path.join('tests', 'data', 'test.clues')