cbc8fc4428
Motivation: If the HttpUtil.getCharset method is called with an illegal charset like "charset=!illegal!" it throws an IllegalCharsetNameException. But the javadoc states, that defaultCharset is returned if incorrect header value. Since the client sending the request sets the header value this should not crash. Modification: HttpUtil.getCharset catches the IllegalCharsetNameException and returns the defualt value. Result: HttpUtil.getCharset does not throw IllegalCharsetNameException any more. |
||
---|---|---|
.. | ||
src | ||
pom.xml |