Stash responds with json if application/json is in Accept header

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Low
    • None
    • Affects Version/s: 2.12.1
    • Component/s: API - Front end
    • Environment:

      Windows x64, Firefox 29

      Firefox 29 uses the following HTTP Accept header in a normal request:
      text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8,application/json

      This results in Stash responding with application/json and a json body instead of the expected text/html login page. Since both text/html and application/json has the same default quality value, q=1.0, it defaults to Json.

            Assignee:
            Unassigned
            Reporter:
            CTS Software Group SIL PNG
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: