4.2. Campo di intestazione Content-Disposition per ogni parte
4.2. Content-Disposition Header Field for Each Part
🇬🇧 Testo originale inglese
Each part MUST contain a Content-Disposition header field [RFC2183] where the disposition type is "form-data". The Content-Disposition header field MUST also contain an additional parameter of "name"; the value of the "name" parameter is the original field name from the form (possibly encoded; see Section 5.1).
For form data that represents the content of a file, a name for the file SHOULD be supplied as well, by using a "filename" parameter of the Content-Disposition header field.
NOTE: The encoding method described in [RFC5987], which would add a "filename*" parameter to the Content-Disposition header field, MUST NOT be used.
🇮🇹 Traduzione italiana
Ogni parte DEVE contenere un campo di intestazione Content-Disposition [RFC2183] in cui il tipo di disposizione è "form-data". Il campo di intestazione Content-Disposition DEVE anche contenere un parametro aggiuntivo "name"; il valore del parametro "name" è il nome del campo originale del modulo (eventualmente codificato; vedere Sezione 5.1).
Per i dati del modulo che rappresentano il contenuto di un file, DOVREBBE essere fornito anche un nome per il file, utilizzando un parametro "filename" del campo di intestazione Content-Disposition.
NOTA: Il metodo di codifica descritto in [RFC5987], che aggiungerebbe un parametro "filename*" al campo di intestazione Content-Disposition, NON DEVE essere utilizzato.