MessageHeadersIter.next

bool next(out string name, out string value)

Yields the next name/value pair in the structMessageHeaders being iterated by iter.

If iter has already yielded the last header, then [soup.message_headers_iter.MessageHeadersIter.next] will return false and name and value will be unchanged.

Parameters

namepointer to a variable to return the header name in
valuepointer to a variable to return the header value in

Returns

true if another name and value were returned, false

if the end of the headers has been reached.