You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2013/02/24 16:12:12 UTC
[jira] [Created] (WINK-380) Support "structured syntax
suffix"/"fragid"s in media type providers
J.W. Janssen created WINK-380:
---------------------------------
Summary: Support "structured syntax suffix"/"fragid"s in media type providers
Key: WINK-380
URL: https://issues.apache.org/jira/browse/WINK-380
Project: Wink
Issue Type: Improvement
Components: Common
Affects Versions: 1.3
Reporter: J.W. Janssen
Mimetypes can contain a "structured syntax suffix" (SSS, specified in RFC6838 section 4.2.8). For example "application/vnd.custom+json", should be regarded as "application/json".
Currently, providers are returned that are strictly compatible with a requested mimetype, meaning that for "application/vnd.custom+json" only a provider with that particular mimetype is to be returned. While that works, it should also be possible to let a provider registered for "application/json" to be returned. This would make it easier for "vendor specific mimetypes" based on JSON to use the generic JSON provider.
I've worked out a patch for Wink already, but want to give it some additional testing. When this is done, I'll attach it to this issue...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira