httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Proxying OPTIONS *
Date Tue, 02 Oct 2007 19:25:31 GMT
Jim Jagielski wrote:
> Comments?:

Just one;

> Index: modules/http/http_core.c
> ===================================================================
> --- modules/http/http_core.c    (revision 581205)
> +++ modules/http/http_core.c    (working copy)
> @@ -234,6 +234,24 @@
>      return OK;
> }
> +static int http_send_options(request_rec *r)
> +{
> +    int rv;
> +    if ((r->method_number != M_OPTIONS) || !r->uri || strcmp(r->uri,
> "*")) {
> +        return DECLINED;
> +    }
> +
> +    ap_allow_standard_methods(r, MERGE_ALLOW, M_GET, M_OPTIONS, M_POST,
> -1);
> +    rv = ap_send_http_options(r);
> +
> +    if (rv == OK) {
> +        rv = DONE;
> +    }
> +
> +    return rv;
> +}


I'm confused, in this shortcut path, where do we pick up M_TRACE if
it applies, and other DAV related methods as they apply to the whole
server?

Bill

Mime
View raw message