Fix ServletResponse.getContentType() bug