Re: Four patches for LWP (and comments)

Martijn Koster (mak@victor.nexor.co.uk)
Wed, 09 Aug 1995 09:52:52 BST


In message <199508080702.JAA02855@bergen.oslonett.no>, Gisle Aas writes:

> There seem to be general agreement about this issue, so lets do it.  I guess 
> we should then get rid of HTTP::Message's dependency on LWP::MemberMixin?

Yes.
 
> How about this:
> 
>     HTTP::
>     ::Message
>       ::Request
>       ::Response
>     ::Headers
>     ::Status    (or ::StatusCode)

Either fine by me. Go for the shorter one :-)

>     ::Date

I agree with Tim that the Yacc/C ones are overly heavyweight. Let's have
HTTP::Date pare only the spec'ed ones, plus any known offenders (One of the
Windows servers does it wrong, I can probably find out which). This can be
a simple set of rigid regexps. If the date cannot be parsed we can always
load the heavyweights then (and complain loudly).
 
>     MIME::
>     ::Types

Hmm... I'm a bit worried about that one. Firstly the HTTP spec refers to
"Internet Media Typesm (formerly referred to as MIME Content-Types_",
so maybe it should be MediaTypes.pm. Secondly, the spec states that the
grammar is a superset of the one for MIME, so it may not belong below 
MIME::. How about HTTP::MediaTypes ?
 
Rest is fine by me.

-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
WWW: http://web.nexor.co.uk/mak/mak.html