Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-967

Picard webservice redirect handling incorrect for 307/308 redirects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 1.3.2
    • None

      As part of its switch to https, MBS is now issuing 307 or 308 redirects for POST requests submitted non-http. A 307 or 308 status code indicates that Picard should resubmit the POST request to the new URL.

      However the current code only checks for the redirect header line to determine whether a redirect is needed or not, and converts the call to a GET regardless of the status code.

      Although there are no known plugins which use this functionality, as good practice Picard should be enhanced to handle 307/308 redirects properly, though this should be considered low priority.

            Unassigned Unassigned
            sophist Sophist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package