When saving a file using the web console, if the file contains some special character, the REST request fails and the file is not correctly saved,
Escaping the HTTP characters could be an option, however, I would prefers to post the file, in the rest request body, encoded in Base64. This way, we don't need anymore to care about the content.
Remark: the same mechanism could be implemented in the file retrieval
When saving a file using the web console, if the file contains some special character, the REST request fails and the file is not correctly saved,
Escaping the HTTP characters could be an option, however, I would prefers to post the file, in the rest request body, encoded in Base64. This way, we don't need anymore to care about the content.
Remark: the same mechanism could be implemented in the file retrieval