NAME

WARC::Record::Replay::HTTP - HTTP protocol replay hub module

SYNOPSIS

use WARC::Record;

$record->replay;		# if record is an HTTP request or response
$record->replay(as => 'http');# if translation to HTTP is desired

DESCRIPTION

This is an internal module that defines a few global variables and loads other modules for HTTP replay support.

$WARC::Record::Replay::HTTP::Content_Deferred_Loading_Threshold

This sets the maximum length, in bytes, of an HTTP entity body that will be immediately loaded when replaying an HTTP message. Messages larger than this trigger deferred loading.

$WARC::Record::Replay::HTTP::Content_Maximum_Length

This sets the maximum length, in bytes, of an HTTP entity body that will be loaded upon demand. Messages larger than this cause the method call for retrieving the content to croak instead.

CAVEATS

The "previous" method on a replayed HTTP response is currently a stub.

AUTHOR

Jacob Bachmeyer, <jcb@cpan.org>

SEE ALSO

WARC::Record

COPYRIGHT AND LICENSE

Copyright (C) 2019 by Jacob Bachmeyer

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