Re: Libwww suggestions
Marc VanHeyningen (mvanheyn@cs.indiana.edu)
Thu, 25 Aug 1994 09:57:31 -0500
A couple of very minor suggestions to the URL parsing routine in wwwurl.pl
for 0.30;
Some people (idiots) use hostnames of the form foo.bar.edu: with nothing
following the colon; stripping it off would be nice since browsers will
tolerate it.
Similarly, people seem hell-bent on using http://foo.bar.edu as a synonym
for http://foo.bar.edu/; at some level a null pathname should be replaced
with a slash. My inclination is to do this at url parse time as well.
(Some people got mighty confused when MOMspider started generating
request lines like "HEAD HTTP/1.0" with no path.)
(I'd include patches, but the changes are so trivial; it's just a matter of
where they should go.)
- Marc