Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2851

reject POST query requests that are missing content-type

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.2.4
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1

      Description

      Currently if a POST query is issued without the Content-Type header, PDB will return all results from the endpoint as if no query were supplied, which can be very confusing. Instead the query should error with a nice message.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: