Mercurial > hg > nginx
comparison src/http/modules/perl/nginx.pm @ 4513:2dfa4d76e4c5 stable-1.0
Merge of r4491, r4492:
*) Renamed constants and fixed off-by-one error in "msie_padding on"
handling.
*) Added support for the 307 Temporary Redirect.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 05 Mar 2012 13:03:39 +0000 |
parents | 7107dc7a4ff7 |
children | 65ff9ed7feb2 |
comparison
equal
deleted
inserted
replaced
4512:cbed47593ce0 | 4513:2dfa4d76e4c5 |
---|---|
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; |