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

Re: Source header instead of property?

From: Erik Seaberg <erk@flyingcroc.com>
Date: 01 Mar 2002 11:33:02 -0800
To: w3c-dist-auth@w3c.org
Message-ID: <86n0xsnkwh.fsf@unx51.staff.flyingcroc.net>
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 14:35:25 GMT

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