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

Re: General question on Serf

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 26 Sep 2012 14:40:33 +0100

Mark Phippard <markphip_at_gmail.com> writes:

> What happens with Serf? From what I know, I would assume that Serf has to
> do a GET of the entire file. Is this true or does it somehow only request
> a delta?

Serf sends the delta base to the server (what does TEMPORARILY mean
here?):

/** This header is *TEMPORARILY* used to transmit the delta base to the
 * server. It contains a version resource URL for what is on the client.
 */
#define SVN_DAV_DELTA_BASE_HEADER "X-SVN-VR-Base"

so a GET looks like:

GET /obj/repo/!svn/rvr/2/f HTTP/1.1
Host: localhost:8888
User-Agent: SVN/1.8.0-dev serf/1.1.1
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops
X-SVN-VR-Base: /obj/repo/!svn/rvr/1/f
Accept-Encoding: svndiff1;q=0.9,svndiff;q=0.8

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-09-26 15:41:10 CEST

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

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