XML-RPC

customizable user agent header for the client

Created: 27/Sep/07 01:17 PM   Updated: 28/Nov/08 08:53 PM
Return to search
Component/s: None
Affects Version/s: 3.1
Fix Version/s: 3.1.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works xmlrpc-ua2.patch 2007-09-27 03:52 PM Andreas Sahlbach 3 kB
Environment: Gentoo / jdk 1.6

Resolution Date: 27/Oct/07 02:51 PM


 Description  « Hide
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!


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.