We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6eaeeb commit a5b00b3Copy full SHA for a5b00b3
httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java
@@ -412,10 +412,8 @@ public static ContentType parse(final CharSequence s) throws UnsupportedCharsetE
412
*
413
* @param s text
414
* @return content type {@code Content-Type} value or null.
415
- * @throws UnsupportedCharsetException Thrown when the named charset is not available in
416
- * this instance of the Java virtual machine
417
*/
418
- public static ContentType parseLenient(final CharSequence s) throws UnsupportedCharsetException {
+ public static ContentType parseLenient(final CharSequence s) {
419
return parse(s, false);
420
}
421
0 commit comments