comparison src/http/ngx_http_request.h @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 0.3.40 *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 13710a1813ad
children 8759b346e431
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
23 #define NGX_HTTP_GET 0x0002 23 #define NGX_HTTP_GET 0x0002
24 #define NGX_HTTP_HEAD 0x0004 24 #define NGX_HTTP_HEAD 0x0004
25 #define NGX_HTTP_POST 0x0008 25 #define NGX_HTTP_POST 0x0008
26 #define NGX_HTTP_PUT 0x0010 26 #define NGX_HTTP_PUT 0x0010
27 #define NGX_HTTP_DELETE 0x0020 27 #define NGX_HTTP_DELETE 0x0020
28 #define NGX_HTTP_MKCOL 0x0040
28 29
29 #define NGX_HTTP_CONNECTION_CLOSE 1 30 #define NGX_HTTP_CONNECTION_CLOSE 1
30 #define NGX_HTTP_CONNECTION_KEEP_ALIVE 2 31 #define NGX_HTTP_CONNECTION_KEEP_ALIVE 2
31 32
32 33
59 #define NGX_HTTP_UNAUTHORIZED 401 60 #define NGX_HTTP_UNAUTHORIZED 401
60 #define NGX_HTTP_FORBIDDEN 403 61 #define NGX_HTTP_FORBIDDEN 403
61 #define NGX_HTTP_NOT_FOUND 404 62 #define NGX_HTTP_NOT_FOUND 404
62 #define NGX_HTTP_NOT_ALLOWED 405 63 #define NGX_HTTP_NOT_ALLOWED 405
63 #define NGX_HTTP_REQUEST_TIME_OUT 408 64 #define NGX_HTTP_REQUEST_TIME_OUT 408
65 #define NGX_HTTP_CONFLICT 409
64 #define NGX_HTTP_LENGTH_REQUIRED 411 66 #define NGX_HTTP_LENGTH_REQUIRED 411
65 #define NGX_HTTP_REQUEST_ENTITY_TOO_LARGE 413 67 #define NGX_HTTP_REQUEST_ENTITY_TOO_LARGE 413
66 #define NGX_HTTP_REQUEST_URI_TOO_LARGE 414 68 #define NGX_HTTP_REQUEST_URI_TOO_LARGE 414
69 #define NGX_HTTP_UNSUPPORTED_MEDIA_TYPE 415
67 #define NGX_HTTP_RANGE_NOT_SATISFIABLE 416 70 #define NGX_HTTP_RANGE_NOT_SATISFIABLE 416
68 71
69 72
70 /* Our own HTTP codes */ 73 /* Our own HTTP codes */
71 74
94 #define NGX_HTTP_INTERNAL_SERVER_ERROR 500 97 #define NGX_HTTP_INTERNAL_SERVER_ERROR 500
95 #define NGX_HTTP_NOT_IMPLEMENTED 501 98 #define NGX_HTTP_NOT_IMPLEMENTED 501
96 #define NGX_HTTP_BAD_GATEWAY 502 99 #define NGX_HTTP_BAD_GATEWAY 502
97 #define NGX_HTTP_SERVICE_UNAVAILABLE 503 100 #define NGX_HTTP_SERVICE_UNAVAILABLE 503
98 #define NGX_HTTP_GATEWAY_TIME_OUT 504 101 #define NGX_HTTP_GATEWAY_TIME_OUT 504
102 #define NGX_HTTP_INSUFFICIENT_STORAGE 507
99 103
100 104
101 #define NGX_HTTP_LOWLEVEL_BUFFERED 0x000000f0 105 #define NGX_HTTP_LOWLEVEL_BUFFERED 0x000000f0
102 #define NGX_HTTP_WRITE_BUFFERED 0x00000010 106 #define NGX_HTTP_WRITE_BUFFERED 0x00000010
103 #define NGX_HTTP_GZIP_BUFFERED 0x00000020 107 #define NGX_HTTP_GZIP_BUFFERED 0x00000020
166 #endif 170 #endif
167 171
168 #if (NGX_HTTP_HEADERS) 172 #if (NGX_HTTP_HEADERS)
169 ngx_table_elt_t *accept; 173 ngx_table_elt_t *accept;
170 ngx_table_elt_t *accept_language; 174 ngx_table_elt_t *accept_language;
175 #endif
176
177 #if (NGX_HTTP_DAV)
178 ngx_table_elt_t *depth;
179 ngx_table_elt_t *destination;
171 #endif 180 #endif
172 181
173 ngx_str_t user; 182 ngx_str_t user;
174 ngx_str_t passwd; 183 ngx_str_t passwd;
175 184
382 unsigned request_body_in_single_buf:1; 391 unsigned request_body_in_single_buf:1;
383 unsigned request_body_in_file_only:1; 392 unsigned request_body_in_file_only:1;
384 unsigned request_body_in_persistent_file:1; 393 unsigned request_body_in_persistent_file:1;
385 unsigned request_body_delete_incomplete_file:1; 394 unsigned request_body_delete_incomplete_file:1;
386 unsigned request_body_file_group_access:1; 395 unsigned request_body_file_group_access:1;
396 unsigned request_body_file_log_level:3;
387 397
388 unsigned fast_subrequest:1; 398 unsigned fast_subrequest:1;
389 399
390 unsigned low_case_exten:1; 400 unsigned low_case_exten:1;
391 unsigned header_timeout_set:1; 401 unsigned header_timeout_set:1;