Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-430

Explicitly request application/json on the configuration web UI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: fts-rest 3.4.0
    • Fix Version/s: fts-rest 3.4.1
    • Component/s: REST API
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      See
      https://fts3devel01.cern.ch:8446/config
      vs
      https://fts3devel04.cern.ch:8446/config

      On CentOS7, best_match prefers text/html over application/json when Accept is /
      The ajax requests should explicitly ask for application/json

      See http://api.jquery.com/jquery.getjson/

        Attachments

          Activity

            People

            • Assignee:
              marsuaga Maria Arsuaga Rios
              Reporter:
              aalvarez Alejandro Alvarez Ayllon
              Component Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: