[Zope-dev] z3c.form: Default form content type

Markus Kemmerling markus.kemmerling at meduniwien.ac.at
Sun Apr 10 09:54:09 EDT 2011


Hi,

By default z3c.form sets the form content type to 'multipart/form-data' (the default value of IInputForm['enctype']). According to http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 this MIME type "should be used for submitting forms that contain files, non-ASCII data, and binary data." Shouldn't the default value rather be set to the default content type of HTML forms, i.e. 'application/x-www-form-urlencoded'?

Regards,
Markus Kemmerling


More information about the Zope-Dev mailing list