try {
                parsedContentType = ContentType.parse(httpClientInputs.getContentType());
            } catch (UnsupportedCharsetException e) {
                throw new IllegalArgumentException("Could not parse input '"
                        + CONTENT_TYPE + "'. " + e.getMessage(), e);