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

Re: How to make mod_svn_dav return a last-modified header?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-08-07 22:00:17 CEST

kfogel@collab.net writes:

> Chris Croome <chris@webarchitects.co.uk> writes:
>> > Note you'll need to upgrade to HEAD; I don't think the change is
>> > in any released version yet.
>>
>> OK, done:
>>
>> [root@atomism i386]# rpm -qa subversion
>> subversion-0.26.0-6662
>>
>> But I still don't get a Last-Modified header:
>>
>> [chris_at_snowball chris]$ lynx -head -dump http://atomism.demon.co.uk/svn/repos/morris/morris.jpg

If I try something like that, the reason I don't get a Last-Modified
header is the code (new in r6636) in dav_svn_set_headers

1727 if (resource->type == DAV_RESOURCE_TYPE_VERSION)
1728 {
1729 /* Send 'Last-Modified', 'Expires', and 'Cache-Control' headers. */
1730 apr_time_t tyme;
1731 int retval;
(gdb) p resource->type
$1 = DAV_RESOURCE_TYPE_REGULAR

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 7 22:02:20 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.