Re: MD5 hash query

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 28 Dec 2001 22:15:14 +0100

On Friday 28 December 2001 21.36, Joe Cooper wrote:
> Henrik Nordstrom wrote:
> > method is the method enum converted into a single char.
> >
> >
> > perl, simplified for GET (enum 1) only:
> >
> > #!/usr/bin/perl -w
> > use Digest::MD5 qw(md5_hex);
> > print uc(md5_hex("\1", $ARGV[0])),"\n";
>
> One more quickie before moving on. Looking at the method_t enum, it
> doesn't look like my scripts need to be concerned with anything other
> than GET. Will any other method reach SWAPOUT?

HEAD may also reach swapout. It is another question if you are interested in
HEAD "objects" (only headers, no data).

Regards
Henrik
Received on Fri Dec 28 2001 - 14:34:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:42 MST