[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Allow custom user agent string

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-11-15 21:08:08 CET

Stefan Küng wrote:
> Hi,
>
> The attached patch removes the fixed user-agent strings used in the svn
> library and replaces them with a define. That way, svn clients can set
> that define to a custom user-agent string when compiling the library.
>
> If the client does not define a custom user-agent string, a default
> ("SVN/") is used (the same as before).

Stefan, are you aware of the fact that mod_dav_svn actually pays attention
the User-Agent header, specifically searching for those which begin with
"SVN/"? This is used in the LOCK handling code and, I think, the GET
response handler, too.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu Nov 15 21:08:26 2007

This is an archived mail posted to the Subversion Dev mailing list.