W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2002

RE: Source header instead of property?

From: Clemm, Geoff <gclemm@rational.com>
Date: Fri, 1 Mar 2002 16:41:01 -0500
Message-ID: <3906C56A7BD1F54593344C05BD1374B103F8AFED@SUS-MA1IT01>
To: w3c-dist-auth@w3c.org
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:erk@flyingcroc.com]
Sent: Friday, March 01, 2002 2:33 PM
To: w3c-dist-auth@w3c.org
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> ...
Received on Friday, 1 March 2002 16:41:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:00 GMT