def begin_write(self, content_type=None):
assert not self.is_collection<EOL>if self.provider.readonly:<EOL><INDENT>raise DAVError(HTTP_FORBIDDEN)<EOL><DEDENT>return open(self._file_path, "<STR_LIT:wb>", BUFFER_SIZE)<EOL>
Open content as a stream for writing.

        See DAVResource.begin_write()