"Sean M. Burke" <[EMAIL PROTECTED]> writes:

> At 18:41 2002-05-09 -0700, Justin Case wrote:
> > > Any ideas on what can be done API-wise to make LWP support both ways?
> >Easy. Have perl modules something like this:
> >use RFC;
> >no RFC::1738;
> >and so on. A generic way to handle all the specs that no one else implements!
> 
> But what would be the scope of those statements' effects?  I don't
> think it can be easily block-scoped.  Any anything else is "action at
> a distance", right?

We could give meaning to special headers in ftp requests.

  $req = HTTP::Request->new("PUT", "ftp://.../...";);
  $req->header("X-RFC-1738" => "No thanks!");

For GET requests I guess we could also have the ftp protocol module
try all possible locations and return the first file found.

--Gisle

Reply via email to