Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8752

Configurable list of redirectable verbs

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.3, 3.4.8
    • 3.5.4, 3.4.9, 4.0.0, 3.6.0
    • None
    • None
    • Unknown

    Description

      Currently, redirections are limited to 'verbs with no content':

      In HTTP/1.1 specification it is written that automatic redirection need to be done with care for methods not known to be safe:

      The safe methods are GET, HEAD, OPTIONS, and TRACE, those listed in list of verbs with no content .

      Although the specification tells to do redirection of not safe method with care, it doesn't forbid it. Currently, it is not possible to do redirection of a POST method with CXF.

       

      Maybe it could be acceptable to configure the list of redirected verbs ?

      Attachments

        1. image-2022-08-18-10-57-00-592.png
          67 kB
          Yves Piel
        2. image-2022-08-18-10-57-24-093.png
          30 kB
          Yves Piel

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ypiel_ Yves Piel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: