Mercurial > hg > nginx
comparison src/http/modules/perl/nginx.pm @ 4491:d11f86a16e3b
Added support for the 307 Temporary Redirect.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 27 Feb 2012 11:43:40 +0000 |
parents | 15e3b7f867a9 |
children | 81a90993afe9 |
comparison
equal
deleted
inserted
replaced
4490:0cc1b430a0e6 | 4491:d11f86a16e3b |
---|---|
19 HTTP_PARTIAL_CONTENT | 19 HTTP_PARTIAL_CONTENT |
20 | 20 |
21 HTTP_MOVED_PERMANENTLY | 21 HTTP_MOVED_PERMANENTLY |
22 HTTP_MOVED_TEMPORARILY | 22 HTTP_MOVED_TEMPORARILY |
23 HTTP_REDIRECT | 23 HTTP_REDIRECT |
24 HTTP_SEE_OTHER | |
24 HTTP_NOT_MODIFIED | 25 HTTP_NOT_MODIFIED |
26 HTTP_TEMPORARY_REDIRECT | |
25 | 27 |
26 HTTP_BAD_REQUEST | 28 HTTP_BAD_REQUEST |
27 HTTP_UNAUTHORIZED | 29 HTTP_UNAUTHORIZED |
28 HTTP_PAYMENT_REQUIRED | 30 HTTP_PAYMENT_REQUIRED |
29 HTTP_FORBIDDEN | 31 HTTP_FORBIDDEN |
65 use constant HTTP_PARTIAL_CONTENT => 206; | 67 use constant HTTP_PARTIAL_CONTENT => 206; |
66 | 68 |
67 use constant HTTP_MOVED_PERMANENTLY => 301; | 69 use constant HTTP_MOVED_PERMANENTLY => 301; |
68 use constant HTTP_MOVED_TEMPORARILY => 302; | 70 use constant HTTP_MOVED_TEMPORARILY => 302; |
69 use constant HTTP_REDIRECT => 302; | 71 use constant HTTP_REDIRECT => 302; |
72 use constant HTTP_SEE_OTHER => 303; | |
70 use constant HTTP_NOT_MODIFIED => 304; | 73 use constant HTTP_NOT_MODIFIED => 304; |
74 use constant HTTP_TEMPORARY_REDIRECT => 307; | |
71 | 75 |
72 use constant HTTP_BAD_REQUEST => 400; | 76 use constant HTTP_BAD_REQUEST => 400; |
73 use constant HTTP_UNAUTHORIZED => 401; | 77 use constant HTTP_UNAUTHORIZED => 401; |
74 use constant HTTP_PAYMENT_REQUIRED => 402; | 78 use constant HTTP_PAYMENT_REQUIRED => 402; |
75 use constant HTTP_FORBIDDEN => 403; | 79 use constant HTTP_FORBIDDEN => 403; |