'Write the given request body bytes to the transport using chunked
encoding.
@type data: C{bytes}'

def write(self, data):

    if (self.transport is None):
        raise ExcessWrite()
    self.transport.writeSequence((networkString(('%x\r\n' % len(data))), data, '\r\n'))
