Thomas
Thomas

Reputation: 8849

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)?

Upvotes: 10

Views: 1082

Answers (1)

Quentin
Quentin

Reputation: 943615

Will the request be bigger?

Slightly.

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

No.

Upvotes: 5

Related Questions