You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Michael Elman (JIRA)" <ji...@apache.org> on 2009/07/14 07:05:14 UTC
[jira] Commented: (WINK-85) Incoming Content-Type null should be
application/octet-stream
[ https://issues.apache.org/jira/browse/WINK-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730692#action_12730692 ]
Michael Elman commented on WINK-85:
-----------------------------------
Btw, this is going to happen in JAX-RS 1.1
> Incoming Content-Type null should be application/octet-stream
> -------------------------------------------------------------
>
> Key: WINK-85
> URL: https://issues.apache.org/jira/browse/WINK-85
> Project: Wink
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.1
> Reporter: Bryant Luk
>
> In ServerInjectableFactory.EntityParam.getValue() :
> {code}
> MediaType mediaType = runtimeContext.getHttpHeaders().getMediaType();
> if (mediaType == null) {
> mediaType = MediaType.WILDCARD_TYPE;
> }
> {code}
> I think the better media type here should be MediaType.APPLICATION_OCTET_STREAM_TYPE.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.