html - Why not always use enctype="multipart/form-data"? -


जब HTML फॉर्म का निर्माण होता है तो हम हमेशा enctype = "multipart / form-data" का उपयोग क्यों नहीं करते ? <

multipart / form-data की तुलना में बहुत अधिक bulkier है आवेदन / x-www फार्म-urlencoded ; उत्तरार्द्ध केवल चाबी और मूल्यों का एक गुच्छा है (और इसे gET या POST के लिए वैसे ही पार्स किया जा सकता है), जबकि पूर्व में पूर्ण MIME समर्थन की आवश्यकता है, और इस प्रकार अधिक उपयोगी जब आपके पास डेटा है जिसे केवल कुंजी / मान युग्म के रूप में प्रदर्शित नहीं किया जा सकता है।


Comments

Popular posts from this blog

SQL/PHP: Table design question -

NHibernate Passing Session to the Repository -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -