Hi, According to http://www.w3.org/TR/html4/interact/forms.html#adef-enctype we should avoid to set enctype when the form method is not POST. Actually, we should set it only when the form contains an input type="file". I don't know if this will break the backward compatibility
Paolo On Monday, January 12, 2015 at 3:45:13 AM UTC+1, Richard Penman wrote: > > Hello, > > I noticed the encoding type for all forms is multipart/form-data rather > than application/x-www-form-urlencoded. Is there a reason for this? My > understanding is the form-data encoding is useful for file uploads and when > transferring large amounts of non-alphanumeric data, but otherwise is > inefficient because of the MIME encoding overhead. > > Richard > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

