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

return path check for q=0 Accept header

    XMLWordPrintableJSON

Details

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

    Description

      This Jira is related to WINK-104: see commented testcase method in the patch there.

      When a method is annotated as such:

      @GET
      @Produces(" * / * ")

      And the client sends:

      Accept: text/xml;q=0

      That method should not send text/xml content type. I'm guessing the place to check for this (and return 406?) would be in wink-server, in:

      org.apache.wink.server.internal.handlers.PopulateResponseMediaTypeHandler

      See WINK-104 and http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for more info. (I'm on vacation until Monday 7/20 – I can look at this then, if no one else has got to it yet.)

      Attachments

        Issue Links

          Activity

            People

              elman Michael Elman
              rott Michael Rheinheimer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: