You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "William R. Speirs (JIRA)" <ji...@apache.org> on 2011/08/26 17:34:29 UTC
[jira] [Updated] (HTTPCORE-271) Add Default ContentTypes
[ https://issues.apache.org/jira/browse/HTTPCORE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William R. Speirs updated HTTPCORE-271:
---------------------------------------
Attachment: ContentType.diff
> Add Default ContentTypes
> ------------------------
>
> Key: HTTPCORE-271
> URL: https://issues.apache.org/jira/browse/HTTPCORE-271
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore
> Reporter: William R. Speirs
> Priority: Trivial
> Fix For: 4.2-alpha2
>
> Attachments: ContentType.diff
>
>
> Currently there are only two defaults provided in the ContentType class. The attached patch creates all of the same ContentTypes found in the javax.ws.rs.core.MediaType class.
> If accepted, these constants should be used in the new fluent API instead of the ContentType class found in that codebase.
--
This message is automatically generated by JIRA.
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