You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2007/11/29 09:41:21 UTC
svn commit: r599336 - /tcl/websh/trunk/doc/quickref.xml
Author: ronnie
Date: Thu Nov 29 00:41:20 2007
New Revision: 599336
URL: http://svn.apache.org/viewvc?rev=599336&view=rev
Log:
- added mimetype documentation to web::formvar
Modified:
tcl/websh/trunk/doc/quickref.xml
Modified: tcl/websh/trunk/doc/quickref.xml
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/doc/quickref.xml?rev=599336&r1=599335&r2=599336&view=diff
==============================================================================
--- tcl/websh/trunk/doc/quickref.xml (original)
+++ tcl/websh/trunk/doc/quickref.xml Thu Nov 29 00:41:20 2007
@@ -1140,12 +1140,13 @@
In addition to this, <command>web::formvar</command> can also
handle files uploaded
via Netscape 2.0 file upload mechanism. In this case, the result of
- <command>web::formvar</command> is a list with three elements:
+ <command>web::formvar</command> is a list with four elements:
The first element contains the name of the locally saved file;
the second element contains the remote file name; the third element
is set to 0 if the upload was successful, -1 if upload is disabled
(see <command>web::config uploadfilesize</command>) and n > 0 if n
- Bytes have been truncated, because the file was too big.
+ Bytes have been truncated, because the file was too big. The last
+ element contains the mime type of the file.
</para>
<para>
Note that the temporary files are created with the permissions configured by
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org