class documentation

class _LengthConsumer: (source)

View In Hierarchy

`_LengthConsumer` is used to calculate the length of the multi-part request. The easiest way to do that is to consume all the fields, but instead writing them to the string just accumulate the request length. :ivar length: The length of the request. Can be `UNKNOWN_LENGTH` if consumer finds the field that has length that can not be calculated

Method __init__ Undocumented
Method write Undocumented
Instance Variable length Undocumented
def __init__(self): (source)

Undocumented

def write(self, value): (source)

Undocumented

length = (source)

Undocumented