Provided by: kaya_0.4.4-6ubuntu3_amd64 bug

NAME

       WebCommon::allowFileUploads - Allow file uploads

SYNOPSIS

       Void allowFileUploads( )

DESCRIPTION

       This  function  must  be  called from a webapp or CGI program's webconfig function to have any effect. It
       enables handling of user-uploaded files. If it  is  not  called,  HTTP  POSTs  with  a  content  type  of
       "multipart/form-data"  (the  type  required  for  file  uploads)  will be treated as an unrecognised POST
       content type, and the POST data will be ignored.

       This is a security feature to avoid all webapps needing to use WebCommon.setKayaUploadDir (3kaya) even if
       they never need to handle files. If you do need file upload support and so use this  function,  you  must
       also set a temporary upload directory.

AUTHORS

       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and  others  (kaya@kayalang.org).  For further
       information see http://kayalang.org/

LICENSE

       The Kaya standard library is free software; you can redistribute it and/or modify it under the  terms  of
       the  GNU  Lesser  General  Public  License  (version  2.1  or any later version) as published by the Free
       Software Foundation.

RELATED

       WebCommon.setKayaUploadDir (3kaya)

Kaya                                                July 2013                  WebCommon.allowFileUploads(3kaya)