diff --git a/src/ngx_http_chunkin_filter_module.c b/src/ngx_http_chunkin_filter_module.c index 148f944..e637a82 100644 --- a/src/ngx_http_chunkin_filter_module.c +++ b/src/ngx_http_chunkin_filter_module.c @@ -301,9 +301,9 @@ ngx_http_chunkin_resume_handler(ngx_http_request_t *r) { if (!conf->enabled || r != r->main || (r->method != NGX_HTTP_PUT && r->method != NGX_HTTP_POST && - r->method != NGX_HTTP_DELETE)) + r->method != NGX_HTTP_DELETE && r->method != NGX_HTTP_OPTIONS)) { - dd("conf not enabled or in subrequest or not POST nor PUT requests"); + dd("conf not enabled or in subrequest or not POST/PUT/DELETE/OPTIONS requests"); return NGX_HTTP_LENGTH_REQUIRED; }