comparison src/http/ngx_http_parse.c @ 3613:64bd39f03182

PATCH method
author Igor Sysoev <igor@sysoev.ru>
date Thu, 10 Jun 2010 11:08:28 +0000
parents 67394153ec39
children 31e9677b15a1
comparison
equal deleted inserted replaced
3612:f9a96545fee7 3613:64bd39f03182
206 case 5: 206 case 5:
207 if (ngx_str5cmp(m, 'M', 'K', 'C', 'O', 'L')) { 207 if (ngx_str5cmp(m, 'M', 'K', 'C', 'O', 'L')) {
208 r->method = NGX_HTTP_MKCOL; 208 r->method = NGX_HTTP_MKCOL;
209 } 209 }
210 210
211 if (ngx_str5cmp(m, 'P', 'A', 'T', 'C', 'H')) {
212 r->method = NGX_HTTP_PATCH;
213 }
214
211 if (ngx_str5cmp(m, 'T', 'R', 'A', 'C', 'E')) { 215 if (ngx_str5cmp(m, 'T', 'R', 'A', 'C', 'E')) {
212 r->method = NGX_HTTP_TRACE; 216 r->method = NGX_HTTP_TRACE;
213 } 217 }
214 218
215 break; 219 break;