jira-importer opened a new issue, #917:
URL: https://github.com/apache/httpcomponents-core/issues/917

   **[Daniel 
Yokomizo](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dyokomizo)**
 opened 
**[HTTPCORE-300](https://issues.apache.org/jira/browse/HTTPCORE-300?redirect=false)**
 and commented
   
   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.
   
   
   ---
   
   **Affects:** 4.2
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to