Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-1827

Change default Content-Type for certificate_status endpoints to application/json

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SERVER 5.0.0
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      If a request is made to the certificate_status endpoint with no Accept header, the certificate authority service includes a default Content-Type of text/pson. Along with the changes being made elsewhere in Puppet 5 to default to JSON instead of PSON, it would seem best likewise to change this default to application/json.

      Note that support should be preserved for handling a legacy client sending a text/pson or pson value in the Accept header. The change for this ticket would only affect what the server would return for cases where the client does not explicitly specify an Accept header.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                jeremy.barlow Jeremy Barlow
                Reporter:
                jeremy.barlow Jeremy Barlow
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: