9 our @ISA = qw(Exporter);
21 HTTP_MOVED_PERMANENTLY
22 HTTP_MOVED_TEMPORARILY
26 HTTP_TEMPORARY_REDIRECT
39 HTTP_REQUEST_ENTITY_TOO_LARGE
40 HTTP_REQUEST_URI_TOO_LARGE
41 HTTP_UNSUPPORTED_MEDIA_TYPE
42 HTTP_RANGE_NOT_SATISFIABLE
44 HTTP_INTERNAL_SERVER_ERROR
48 HTTP_SERVICE_UNAVAILABLE
50 HTTP_INSUFFICIENT_STORAGE
53 our $VERSION = '%%VERSION%%';
56 XSLoader
::load
('nginx', $VERSION);
58 # Preloaded methods go here.
61 use constant DECLINED
=> -5;
63 use constant HTTP_OK
=> 200;
64 use constant HTTP_CREATED
=> 201;
65 use constant HTTP_ACCEPTED
=> 202;
66 use constant HTTP_NO_CONTENT
=> 204;
67 use constant HTTP_PARTIAL_CONTENT
=> 206;
69 use constant HTTP_MOVED_PERMANENTLY
=> 301;
70 use constant HTTP_MOVED_TEMPORARILY
=> 302;
71 use constant HTTP_REDIRECT
=> 302;
72 use constant HTTP_SEE_OTHER
=> 303;
73 use constant HTTP_NOT_MODIFIED
=> 304;
74 use constant HTTP_TEMPORARY_REDIRECT
=> 307;
76 use constant HTTP_BAD_REQUEST
=> 400;
77 use constant HTTP_UNAUTHORIZED
=> 401;
78 use constant HTTP_PAYMENT_REQUIRED
=> 402;
79 use constant HTTP_FORBIDDEN
=> 403;
80 use constant HTTP_NOT_FOUND
=> 404;
81 use constant HTTP_NOT_ALLOWED
=> 405;
82 use constant HTTP_NOT_ACCEPTABLE
=> 406;
83 use constant HTTP_REQUEST_TIME_OUT
=> 408;
84 use constant HTTP_CONFLICT
=> 409;
85 use constant HTTP_GONE
=> 410;
86 use constant HTTP_LENGTH_REQUIRED
=> 411;
87 use constant HTTP_REQUEST_ENTITY_TOO_LARGE
=> 413;
88 use constant HTTP_REQUEST_URI_TOO_LARGE
=> 414;
89 use constant HTTP_UNSUPPORTED_MEDIA_TYPE
=> 415;
90 use constant HTTP_RANGE_NOT_SATISFIABLE
=> 416;
92 use constant HTTP_INTERNAL_SERVER_ERROR
=> 500;
93 use constant HTTP_SERVER_ERROR
=> 500;
94 use constant HTTP_NOT_IMPLEMENTED
=> 501;
95 use constant HTTP_BAD_GATEWAY
=> 502;
96 use constant HTTP_SERVICE_UNAVAILABLE
=> 503;
97 use constant HTTP_GATEWAY_TIME_OUT
=> 504;
98 use constant HTTP_INSUFFICIENT_STORAGE
=> 507;
113 nginx - Perl interface to the nginx HTTP server API
121 This module provides a Perl interface to the nginx HTTP server API.
126 http://nginx.org/en/docs/http/ngx_http_perl_module.html
132 =head1 COPYRIGHT AND LICENSE
134 Copyright (C) Igor Sysoev
135 Copyright (C) Nginx, Inc.