XML-RPC
  1. XML-RPC
  2. XMLRPC-132

Enabling the ability for the xml-rpc client to redirect requests

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.1
    • Fix Version/s: 3.1
    • Component/s: Source
    • Labels:
      None

      Description

      This modification to the XMLRPCStreamTransport adds a customization point to determine if the transport needs to redirect the request before attempting to parse the response from the server. This uses a similar redirect algorithm as used in the Apache Http client to processing redirects with a Max limit to prevent a recursive loop.

      The redirect logic itself is implemented in two callback methods isRedirectRequired() and
      resetClientForRedirect()

      These callback methods are only implemented in the XmlRpcCommonsTransport which means that the other transport options won't support redirects (unless they are modified to do this by implementing these call back methods)

      1. XMLRPC-132-patch
        13 kB
        Andrew Norman
      2. XMLRPC-132.zip
        6 kB
        Andrew Norman
      3. redirects.patch
        3 kB
        Jochen Wiedmann

        Activity

        Andrew Norman created issue -
        Andrew Norman made changes -
        Field Original Value New Value
        Attachment XMLRPC-132.zip [ 12349719 ]
        Andrew Norman made changes -
        Attachment XMLRPC-132-patch [ 12349720 ]
        Andrew Norman made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andrew Norman made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Andrew Norman made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andrew Norman made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Jochen Wiedmann made changes -
        Attachment redirects.patch [ 12350877 ]
        Jochen Wiedmann made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Resolved [ 5 ]
        Jochen Wiedmann made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12395142 ] Default workflow, editable Closed status [ 12565414 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12565414 ] jira [ 12599143 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrew Norman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development