UseNewStyleMultipart

Boolean

False

Purpose

The UseNewStyleMultipart parameter specifies whether Jade overrides the previous behavior of automatically converting the multipart/form‑data body into url/form‑encoded, where each bit of form data is separated by an ampersand character (&) and the boundaries, Content‑Disposition, and Content‑Type information are removed. In addition, by default data is not sent through to the Jade REST method as parameters, so it relies on user code to extract it from the body (for example, by reimplementing the JadeRestService class processRequest method).

Set this parameter to true if you want to override the default handling when the multipart/form-data content type is used for a POST request, which is typically used when uploading the contents of files that may be very large and have special characters or be in binary format. Jade leaves the HTTP body as it is, and instead extracts the data from the parts in the body, passing them as parameters to the Jade REST method. For details about multipart/form-data encoding, see "Multipart Form Data Encoding Server-Side Support", in Chapter 11 of the Developer's Reference.

2022.0.01 and higher