Disadvantage of using multipart form

I was wondering if there is any disadvantage of adding enctype="multipart/form-data" to a form when there's no file input field.

I declare the form in a template and I only need multipart on some pages. Should I always add it or only when I need it?

Will the request be bigger? Or are there any other consequences (except for decreased readability in Firebug / DevTools)?


Will the request be bigger?

Slightly.

Or are there any other consequences (except for decreased readability in Firebug / DevTools)?

No.

链接地址: http://www.djcxy.com/p/11016.html

上一篇: 只包含一个#include的.cpp文件的要点是什么?

下一篇: 使用多部分表单的缺点