Hi @wolstech thank you for the fix, it solves my issue. Before creating the post I tried to disable Plesk SSL redirect, I didn't know I had to wait 2 hours so it didn't work, but now everything is fine.
Concerning your remark concerning the mime type, I pretty sure that it is not related to my problem because I had the issue for a cgi script that returns a response with text/plain mime type.