Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19278

/get/ returns a status code 200 even if the page does not exist

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      Expected result:

      • The status code displayed in the network tab is 404

      Obtained result:

      • the status code is 200

      This behaviour is error prone, as we can easily assume a request is working when debugging while it's actually not. On my case I found this while trying to understand why a live table was empty: would have been easier if I had seen right away the 404 error in the network tab.

      Attachments

        Activity

          People

            surli Simon Urli
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: