The properties files must be written in UTF-8.
The http request body can contain multiple properties files or a ZIP file in the MIME multipart/form-data format RFC7578. The Content-Type must be `multipart/form-data` followed by the `boundary=` MIME parameter to specify the boundary of the MIME parts. Here is an example.
Content-Type: multipart/form-data; boundary=aBoundaryStringEach MIME part needs to have the MIME header `Content-Disposition`, which has parameters name="file" and filename=.
Here are examples.
Content-Disposition: form-data; name="file"; filename="myNamespace_default.properties"
Content-Disposition: form-data; name="file"; filename="myProperties.zip"
Each properties file is assumed to put in each MIME body. The content of each properties file can be encoded in the quoted-printable or base64.
If the content is encoded in quoted-printable or base64, the MIME header "Content-Transfer-Encoding" needs to be specified to indicate the encoding.
If a ZIP file is included in the MIME body, the MIME header "Content-Type" must indicate "application/zip". Also, the content of the ZIP file should be encoded in base64. The MIME header "Content-Transfer-Encoding" needs to be specified to indicate base64 as below.
Content-Type: application/zip Content-Transfer-Encoding: base64