This is probably because we use the "wrong" method to parse/create the Contenttype in JMeter.
I think, we should switch to using ContentType#parse(String) instead of #create(String). Would you mind opening a bug report for this? Regards Felix Am 22.12.20 um 12:02 schrieb Łukasz Pyrzyk: > Hello, > > I try to send a file with multipart/form-data with mime type "text/html; > charset=UTF-8" and it fails with an exception > > java.lang.IllegalArgumentException: MIME type may not contain reserved > characters > at org.apache.http.util.Args.check(Args.java:36) > > It looks like ";" is forbidden for mime type, where according to docs, it's > perfectly fine to have it. https://en.wikipedia.org/wiki/Media_type > > I tried to switch implementation to the Java, but this implementation does > not support local path, or I simply don't know how to construct it. > > How to fix the problem? > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org