comparison src/http/modules/perl/nginx.pm @ 3604:3a64bdacf1e4

202 Accepted status code
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jun 2010 13:38:39 +0000
parents 041ed4c980f5
children 73e23d7cb3c0
comparison
equal deleted inserted replaced
3603:041ed4c980f5 3604:3a64bdacf1e4
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
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;