Net::ICAP::Common - Common ICAP Constants
$Id: lib/Net/ICAP/Common.pm, v0.03 $
use Net::ICAP::Common qw(:all);
This module provides commonly used constants. You can selective import the following sets of constants:
The following constants are used (primarily) internally for all ICAP message types.
1344
The default TCP port used by ICAP.
ICAP/1.0
The ICAP protocol version string.
req-hdr
The HTTP request header entity string as used in the Encapsulated header.
res-hdr
The HTTP response header entity string as used in the Encapsulated header.
req-body
The HTTP request body entity string as used in the Encapsulated header.
res-body
The HTTP response body entity string as used in the Encapsulated header.
opt-body
The ICAP options body entity string as used in the Encapsulated header.
null-body
The ICAP null body entity string as used in the Encapsulated header.
The following constants are used specifically for ICAP Request messages.
REQMOD
The Request Modification method.
RESPMOD
The Response Modification method.
OPTIONS
The Options method.
The following constants are used specifically for ICAP Response messages.
100
The ICAP status code for 'Continue after ICAP Preview' responses.
200
The ICAP status code for 'OK' responses.
204
The ICAP status code for 'No Modifications Needed' responses.
400
The ICAP status code for 'Bad Request' responses.
401
The ICAP status code for 'Unauthorized' responses.
403
The ICAP status code for 'Forbidden' responses.
404
The ICAP status code for 'ICAP Service Not Found' responses.
405
The ICAP status code for 'Method Not Allowed For Service' responses.
407
The ICAP status code for 'Proxy Authentication Required' responses.
408
The ICAP status code for 'Request Time-out' responses.
411
The ICAP status code for 'Length Required' responses.
414
The ICAP status code for 'Request-URI Too Large' responses.
500
The ICAP status code for 'Internal Server Error' responses.
501
The ICAP status code for 'Method Not Implemented' responses.
502
The ICAP status code for 'Bad Gateway' responses.
503
The ICAP status code for 'Service Overloaded' responses.
504
The ICAP status code for 'Gateway Time-out' responses.
505
The ICAP status code for 'ICAP Version Not Supported' responses.
None.
It is very likely that there are additional status codes in use in the wild that are not included here, including the HTTP status codes that also apply to ICAP.
Arthur Corliss (corliss@digitalmages.com)
This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.
(c) 2012, Arthur Corliss (corliss@digitalmages.com)
Copyright © 1997 - 2016, Arthur Corliss, all rights reserved.