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 d7899b8 commit 78e0311Copy full SHA for 78e0311
httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java
@@ -423,10 +423,8 @@ public static ContentType parse(final CharSequence s) throws UnsupportedCharsetE
423
*
424
* @param s text
425
* @return content type {@code Content-Type} value or null.
426
- * @throws UnsupportedCharsetException Thrown when the named charset is not available in
427
- * this instance of the Java virtual machine
428
*/
429
- public static ContentType parseLenient(final CharSequence s) throws UnsupportedCharsetException {
+ public static ContentType parseLenient(final CharSequence s) {
430
return parse(s, false);
431
}
432
0 commit comments