Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-85

Incoming Content-Type null should be application/octet-stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.1
    • Server
    • None

    Description

      In ServerInjectableFactory.EntityParam.getValue() :

                      MediaType mediaType = runtimeContext.getHttpHeaders().getMediaType();
                      if (mediaType == null) {
                          mediaType = MediaType.WILDCARD_TYPE;
                      }
      

      I think the better media type here should be MediaType.APPLICATION_OCTET_STREAM_TYPE.

      Attachments

        Activity

          People

            nfischer Nadav Fischer
            bluk Bryant Luk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: