1. Introduzione (Introduction)
1. Introduzione (Introduction)
🇬🇧 Testo originale inglese
In many applications, it is possible for a user to be presented with a form. The user will fill out the form, including information that is typed, generated by user input, or included from files that the user has selected. When the form is filled out, the data from the form is sent from the user to the receiving application.
The definition of multipart/form-data is derived from one of those applications, originally set out in [RFC1867] and subsequently incorporated into HTML 3.2 [W3C.REC-html32-19970114], where forms are expressed in HTML, and the form data is sent via HTTP or electronic mail. This representation is widely implemented in numerous web browsers and web servers.
However, multipart/form-data is also used for forms that are presented using representations other than HTML (spreadsheets, PDF, etc.) and for transport using means other than electronic mail or HTTP; it is used in distributed applications that do not involve forms at all or do not have users filling out the form. For this reason, this document defines a general syntax and semantics independent of the application for which it is used, with specific rules for web applications noted in context.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14, RFC 2119 [RFC2119].
🇮🇹 Traduzione italiana
In molte applicazioni, è possibile che venga presentato un modulo a un utente. L'utente compilerà il modulo, incluse le informazioni digitate, generate dall'input dell'utente o incluse da file che l'utente ha selezionato. Quando il modulo viene compilato, i dati del modulo vengono inviati dall'utente all'applicazione ricevente.
La definizione di multipart/form-data deriva da una di queste applicazioni, originariamente stabilita in [RFC1867] e successivamente incorporata in HTML 3.2 [W3C.REC-html32-19970114], dove i moduli sono espressi in HTML e i dati del modulo vengono inviati tramite HTTP o posta elettronica. Questa rappresentazione è ampiamente implementata in numerosi browser Web e server Web.
Tuttavia, multipart/form-data viene utilizzato anche per moduli presentati utilizzando rappresentazioni diverse da HTML (fogli di calcolo, PDF, ecc.) e per il trasporto utilizzando mezzi diversi dalla posta elettronica o HTTP; viene utilizzato in applicazioni distribuite che non coinvolgono affatto moduli o che non hanno utenti che compilano il modulo. Per questo motivo, questo documento definisce una sintassi e una semantica generali indipendenti dall'applicazione per cui viene utilizzato, con regole specifiche per le applicazioni Web annotate nel contesto.
Le parole chiave "MUST (DEVE)", "MUST NOT (NON DEVE)", "REQUIRED (RICHIESTO)", "SHALL (DOVRÀ)", "SHALL NOT (NON DOVRÀ)", "SHOULD (DOVREBBE)", "SHOULD NOT (NON DOVREBBE)", "RECOMMENDED (RACCOMANDATO)", "MAY (PUÒ)" e "OPTIONAL (OPZIONALE)" in questo documento devono essere interpretate come descritto in BCP 14, RFC 2119 [RFC2119].