Subject: RE: Source header instead of property?

From: "Clemm, Geoff" <[email-masked]>
Date: Fri, 1 Mar 2002 16:41:01 -0500

The problem with always sending back such a header
when it wasn't explicitly asked for is that the amount
of "interesting" information can be very large.
That is why we have an explicit "PROPFIND" call, rather
than returning all properties every time in headers.

Cheers,
Geoff

-----Original Message-----
From: Erik Seaberg [mailto:[email-masked]]
Sent: Friday, March 01, 2002 2:33 PM
To: [email-masked]
Subject: Re: Source header instead of property?

Oh, I don't mean a Translate-like request header that asks for the
source resource at an overloaded URI, just that sending the source URI
in a response header could be a smaller burden than having every
output resource generator implement PROPFIND just for the sake of
answering a request for {DAV:}source for output resources that have no
other noteworthy DAV properties.  Like so:

c> HEAD /cgi-bin/foo.pl?bar=1 HTTP/1.1
c> Host: www.example.com
c> Authorization: Basic ZXJrOnBhc3N3b3Jk
c> 

s> HTTP/1.1 200 OK
s> Content-Type: text/html
s> Source: http://www.example.com/cgi-src/foo.pl
s> 	   http://www.example.com/cgi-src/MyClass.pm
s> 

c> GET /cgi-src/foo.pl HTTP/1.1
c> Host: www.example.com
c> Authorization: Basic ZXJrOnBhc3N3b3Jk
c> 

s> HTTP/1.1 200 OK
s> Content-Type: text/x-perl
s> 
s> #!/usr/bin/perl
s> ...