Aller au contenu principal

4.1. Paramètre ' Boundary ' de multipart/form-data

4.1. "Boundary" Parameter of multipart/form-data

🇬🇧 Texte original anglais

As with other multipart types, the parts are delimited with a boundary delimiter, constructed using CRLF, "--", and the value of the "boundary" parameter. The boundary is supplied as a "boundary" parameter to the multipart/form-data type. As noted in Section 5.1 of [RFC2046], the boundary delimiter MUST NOT appear inside any of the encapsulated parts, and it is often necessary to enclose the "boundary" parameter values in quotes in the Content-Type header field.


🇫🇷 Traduction française

Comme pour les autres types multipart, les parties sont délimitées par un délimiteur de frontière, construit à l'aide de CRLF, « -- » et de la valeur du paramètre « boundary ». La frontière est fournie en tant que paramètre « boundary » au type multipart/form-data. Comme indiqué dans la section 5.1 de [RFC2046], le délimiteur de frontière NE DOIT PAS apparaître à l'intérieur de l'une des parties encapsulées, et il est souvent nécessaire d'entourer les valeurs du paramètre « boundary » de guillemets dans le champ d'en-tête Content-Type.