Reputation: 8849
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)?
Upvotes: 10
Views: 1082
Reputation: 943615
Will the request be bigger?
Slightly.
Or are there any other consequences (except for decreased readability in Firebug / DevTools)?
No.
Upvotes: 5