You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1998/12/29 19:25:53 UTC
Re: cvs commit: apache-1.3/src/support httpd.exp
On 29 Dec 1998 fielding@hyperreal.org wrote:
> +/* Create a variant list validator in r using info from vlistr. */
> +
> +static void set_vlist_validator(request_rec *r, request_rec *vlistr)
> +{
> + /* Calculating the variant list validator is similar to
> + * calculating an etag for the source of the variant list
> + * information, so we use ap_make_etag(). Note that this
> + * validator can be 'weak' in extreme case.
> + */
> +
> + ap_update_mtime (vlistr, vlistr->finfo.st_mtime);
> + r->vlist_validator = ap_make_etag(vlistr, 0);
> +
> + /* ap_set_etag will later take r->vlist_validator into account
> + * when creating the etag header
> + */
> +}
mod_negotiation isn't the only module that can do negotiations... what
happens if a sub request also has a vlist_validator because it was
negotiated? (Maybe I don't understand vlist_validator... maybe
you could put a couple more notes into httpd.h ;)
Dean