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

REST on pilot gives json or html randomly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: fts-rest 3.7.0
    • 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

      I noticed that the following

      curl [usual options] https://fts3-devel.cern.ch:8446/config/debug

      can give json or html in response, apparently at random.

      Production always gives html.

      -H "Accept: application/json" will force json, but something's weird here.

        Attachments

          Activity

            People

            • Assignee:
              aalvarez Alejandro Alvarez Ayllon
              Reporter:
              okeeble Oliver Keeble
              Component Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: