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

Re: [feature] Log HTTP header for autoversioning

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-13 20:03:44 CET

Michael Sweet wrote:
> Max Bowsher wrote:
>> ...
>> The basic log message support seems reasonable, and fitting with the
>> general theme of DAV interoperability with traditional HTTP PUT
>> clients.
>>
>> I'm not so sure about the properties though. I'm tempted to say "use
>> DAV PROPPATCH". I really don't want to reinvent a subset of DAV#s
>> functionality within PUT requests. I could be persuaded, though, if
>> enough people think that the setting of properties within PUT
>> requests isn't the top of a slippery slope.
>> ...
>
> Since Content-Type is already a standard HTTP header and maps
> directly to the svn:mime-type property, I would say that it would
> make sense to set that property as well.

Interesting. Could this prove annoying in some circumstances, though?

Suppose you PUT to a file which has a specific content type from some client
that doesn't know, and sends a generic "text/plain". The desired content
type would be changed.

Do HTTP PUT clients exist? Do they send Content-type by default?

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 13 20:05:27 2005

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.