SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Old RedHat 7.X perl-Metadata-0.21-8.i386.rpm

Metadata::HTTP

Section: User Contributed Perl Documentation (3)
Updated: perl v5.6.0
Index 

NAME

Metadata::HTTP - metadata class for HTTP log records 

SYNOPSIS

  use Metadata::HTTP  ...  $i=new Metadata::HTTP;  open(IN, $logfile);  while($i->read('IN')) {    print $i->get('agent'),"\n";  }  ...
 

DESCRIPTION

The Metadata::HTTP class allows the handling of HTTP log records asmetadata objects using the the Metadata::Base manpage class.

The following fields are set after using the read method:

  host ident authuser  date day month year time hour min sec  timezone (in format +/-NNNN)  status bytes  request - 'GET /foo' etc
Optionally set:
  referer (if supported by log)
  agent (if supported by log)
  http-version (if present)
  command - GETPOST, etc.
  path    - operand to command 

CONSTRUCTOR


new [OPTIONS]
An optional hash of options can be given to the constructor to setvarious options. There is only one Metadata::HTTPoptions defined:

DEBUG
This class has a separate debug class / object method that worksin the same fashion as the Metadata::Base method debug.Setting it here also sets the debugging on the base Metadata::Baseobject too.
 

METHODS

The methods here describe the differences from the the Metadata::Base manpage classmethods.

read HANDLE
Reads a single line from the file descriptor and uses it to fill thefields of the HTTP metadata object.
format [URL]
Returns the original HTTP line used in the parsing.
 

SEE ALSO

the Metadata::Base manpage 

AUTHOR

By Dave Beckett <D.J.BeckettAATTukc.ac.uk>. 

COPYRIGHT

Copyright 1998 Dave Beckett. All rights reserved.

This module is free software; you can redistribute it and/or modifyit under the same terms as Perl itself.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONSTRUCTOR
METHODS
SEE ALSO
AUTHOR
COPYRIGHT

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector