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

Improve invalid media type toleration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0
    • Common
    • None

    Description

      Improve the toleration of invalid media types. Certain common client code send invalid media type headers. For those cases, I think it's easier to just skip invalid media types or to "correct" those media types.

      The two I think should be corrected:

      "*" turn to MediaType.WILDCARD
      "text/" (missing subtype) turn to "text/*" (or as appropriate)

      The rest I think should be tolerated as invalid if possible (i.e. skip the invalid media type).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: