XML-RPC
  1. XML-RPC
  2. XMLRPC-149

customizable user agent header for the client

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Gentoo / jdk 1.6

      Description

      Our client sets the user agent to an application string + version information. The user agent field can be easily read out at the web server and is an important information for the support and for statistics (how many old clients are still out there? how many customer have upgraded? is it true that the customer is using the new client or is he really using an old client, lying somewhere hidden in the classpath? etc.)

      Now we want to upgrade the xmlrpc lib to 3.1 and noticed that the user agent field is set by the library. Unfortunately it's not possible to customize this setting to our needs. I've added a patch that is allowing us to set the user agent to a string we are choosing. The code should be 100% compatible and there should be no negative side effects. Please consider to put this into the upstream as soon as possible. Thanks a lot!

      1. xmlrpc-ua2.patch
        3 kB
        Andreas Sahlbach

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12565437 ] jira [ 12599121 ]
        Mark Thomas made changes -
        Workflow jira [ 12413826 ] Default workflow, editable Closed status [ 12565437 ]
        Jochen Wiedmann made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jochen Wiedmann made changes -
        Fix Version/s 3.1.1 [ 12312839 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Assignee Jochen Wiedmann [ jochen@apache.org ]
        Andreas Sahlbach made changes -
        Attachment xmlrpc-ua2.patch [ 12366678 ]
        Andreas Sahlbach made changes -
        Attachment xmlrpc-ua.patch [ 12366664 ]
        Andreas Sahlbach made changes -
        Field Original Value New Value
        Attachment xmlrpc-ua.patch [ 12366664 ]
        Andreas Sahlbach created issue -

          People

          • Assignee:
            Jochen Wiedmann
            Reporter:
            Andreas Sahlbach
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development