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.