From: Sean Reifscheider Date: Tue, 18 Sep 2007 23:38:15 +0000 (+0000) Subject: issue1172: Documentation of "done" attribute in cgi module. X-Git-Tag: v2.5.2c1~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e84e8002406f105c049289c280b63d2763b7258;p=python issue1172: Documentation of "done" attribute in cgi module. --- diff --git a/Doc/lib/libcgi.tex b/Doc/lib/libcgi.tex index 1dd7e03f39..971a6ad30b 100644 --- a/Doc/lib/libcgi.tex +++ b/Doc/lib/libcgi.tex @@ -162,6 +162,11 @@ if fileitem.file: linecount = linecount + 1 \end{verbatim} +If an error is encountered when obtaining the contents of an uploaded file +(for example, when the user interrupts the form submission by clicking on +a Back or Cancel button) the \member{done} attribute of the object for the +field will be set to the value -1. + The file upload draft standard entertains the possibility of uploading multiple files from one field (using a recursive \mimetype{multipart/*} encoding). When this occurs, the item will be