%flags> inherit => undef %flags> <%perl> # Here is what you need to do to make autohandlers play nice # with Ajax XMLHttpRequest requests. Otherwise your autohandler # may spew out a bunch of stuff that your response doesn't # want to deal with. if ($r->header_in('X-Requested-With') eq 'XMLHttpRequest') { $m->call_next(); } else { %perl>