comparison src/http/modules/perl/nginx.pm @ 635:e67b227c8dbb default tip

Merge with current.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 25 Apr 2011 04:07:55 +0400
parents b4dcae568a2a
children
comparison
equal deleted inserted replaced
578:f3a9e57d2e17 635:e67b227c8dbb
12 OK 12 OK
13 DECLINED 13 DECLINED
14 14
15 HTTP_OK 15 HTTP_OK
16 HTTP_CREATED 16 HTTP_CREATED
17 HTTP_ACCEPTED
17 HTTP_NO_CONTENT 18 HTTP_NO_CONTENT
18 HTTP_PARTIAL_CONTENT 19 HTTP_PARTIAL_CONTENT
19 20
20 HTTP_MOVED_PERMANENTLY 21 HTTP_MOVED_PERMANENTLY
21 HTTP_MOVED_TEMPORARILY 22 HTTP_MOVED_TEMPORARILY
45 HTTP_SERVICE_UNAVAILABLE 46 HTTP_SERVICE_UNAVAILABLE
46 HTTP_GATEWAY_TIME_OUT 47 HTTP_GATEWAY_TIME_OUT
47 HTTP_INSUFFICIENT_STORAGE 48 HTTP_INSUFFICIENT_STORAGE
48 ); 49 );
49 50
50 our $VERSION = '0.8.34'; 51 our $VERSION = '1.0.0';
51 52
52 require XSLoader; 53 require XSLoader;
53 XSLoader::load('nginx', $VERSION); 54 XSLoader::load('nginx', $VERSION);
54 55
55 # Preloaded methods go here. 56 # Preloaded methods go here.
57 use constant OK => 0; 58 use constant OK => 0;
58 use constant DECLINED => -5; 59 use constant DECLINED => -5;
59 60
60 use constant HTTP_OK => 200; 61 use constant HTTP_OK => 200;
61 use constant HTTP_CREATED => 201; 62 use constant HTTP_CREATED => 201;
63 use constant HTTP_ACCEPTED => 202;
62 use constant HTTP_NO_CONTENT => 204; 64 use constant HTTP_NO_CONTENT => 204;
63 use constant HTTP_PARTIAL_CONTENT => 206; 65 use constant HTTP_PARTIAL_CONTENT => 206;
64 66
65 use constant HTTP_MOVED_PERMANENTLY => 301; 67 use constant HTTP_MOVED_PERMANENTLY => 301;
66 use constant HTTP_MOVED_TEMPORARILY => 302; 68 use constant HTTP_MOVED_TEMPORARILY => 302;