9

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

1 Answer 1

3

Will the request be bigger?

Slightly.

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

No.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.