> > I thought $r->content_type was used for the server to set the content > type for a response, not discover it from the request.
$r->content_type is just a get/set routine for the request record, giving you the option to either peek at it or set it yourself. > So it should I > think be empty till set. yup. typically mod_mime does this, so by the fixup stage it's typically available for comparisons. HTH --Geoff