minor suggestion: UserAgent and HTTP_FROM
A. P. Harris (apharris@onshore.com)
Thu, 04 Apr 1996 11:03:43 -0600
I think there should be a nice-n-easy way, on the UserAgent level,
to set the 'HTTP_FROM' address. This is basically to encourage people
to follow the guidelines for robots outlined in
<URL:http://info.webcrawler.com/mak/projects/robots/guidelines.html>
Right now, it's certainly possible. A quip from one of my scripts:
| $ua = new LWP::UserAgent;
| $ua->agent("GlobalCash StockBot", "0.1");
| my $req = new HTTP::Request( POST => 'http://www.pcquote.com/cgi-bin/client.exe' );
| $req->header( HTTP_FROM => 'webmaster@onShore.com' );
I would think it would be a win to have a method so that one could say:
| $ua = new LWP::UserAgent;
| $ua->agent("GlobalCash StockBot", "0.1");
| $us->email('webmaster@onShore.com');
or something like that.
.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>