Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20ECBDEE2 for ; Wed, 27 Jun 2012 14:01:46 +0000 (UTC) Received: (qmail 85025 invoked by uid 500); 27 Jun 2012 14:01:46 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 84984 invoked by uid 500); 27 Jun 2012 14:01:45 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 84974 invoked by uid 99); 27 Jun 2012 14:01:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2012 14:01:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 47C2C142840 for ; Wed, 27 Jun 2012 14:01:45 +0000 (UTC) Date: Wed, 27 Jun 2012 14:01:45 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: <889307715.61923.1340805705296.JavaMail.jiratomcat@issues-vm> In-Reply-To: <828035432.61778.1340803903848.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HTTPCORE-300) ContentType does not support parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCORE-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCORE-300: --------------------------------------- Fix Version/s: 4.3 Issue Type: Improvement (was: Bug) > ContentType does not support parameters > --------------------------------------- > > Key: HTTPCORE-300 > URL: https://issues.apache.org/jira/browse/HTTPCORE-300 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: HttpCore > Affects Versions: 4.2 > Reporter: Daniel Yokomizo > Priority: Minor > Fix For: 4.3 > > > ContentType is the class to be used in httpcore-4.2 whenever a mime type is expected (e.g. StringEntity, FileEntity), but it does not support parameters so it's not possible to use it in places where a parameters is part of the mime type. > For example in an application I work on we use parameter to specify the applicable JSON schema, as recommended in the JSON Schema draft (http://tools.ietf.org/html/draft-zyp-json-schema-03) > Content-Type: application/my-media-type+json;profile=http://json.com/my-hyper-schema > It should be possible to specify parameters to a ContentType and get them when parsing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org