HTTP Client says "MIME type may not contain reserved characters"
Answered
Dear all,
executing the following script with the HTTP Client results in the error message: java.lang.IllegalArgumentException: MIME type may not contain reserved characters
POST http://localhost:8100/message/send
Content-Type: "text/plain;charset=utf-8"
< ./postfachmessage.json
The script runs fine, if I replace the file with the actual content of the file.
What I am doing wrong?
Please sign in to leave a comment.
A similar issue was fixed in https://www.jetbrains.com/idea/nextversion/, see https://youtrack.jetbrains.com/issue/IDEA-218808/Intellij-REST-client-Unable-to-specify-charset-with-Content-Type.
Please try 2023.3 version. If the issue persists, file a new bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with a sample file to reproduce it.
Yes, it is fixed in the latest version. Thank you for the good work.