cossme / grinder

The Grinder, a Java Load Testing Framework
Other
37 stars 15 forks source link

[Web Console] Use Base 64 encodded body to post file to be written on the backend #19

Closed solcyr closed 6 years ago

solcyr commented 6 years ago

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

solcyr commented 6 years ago

98b066e..5a8a19d master -> master