def _length(self):
self._build_chunk_headers()<EOL>length = <NUM_LIT:0><EOL>if self._data:<EOL><INDENT>for field in self._data:<EOL><INDENT>length += len(self._chunk_headers[field])<EOL>length += len(self._data[field])<EOL>length += <NUM_LIT:2><EOL><DEDENT><DEDENT>if self._files:<EOL><INDENT>for field in self._files:<EOL><INDENT>length += len(self._chunk_headers[field])<EOL>length += self._file_size(field)<EOL>length += <NUM_LIT:2><EOL><DEDENT><DEDENT>length += len(self.boundary)<EOL>length += <NUM_LIT:6><EOL>return length<EOL>
Returns total length for this request.

        Returns:
            int. Length