actually, does Yaws interpret #rewrite_response{} in any way? or is it but a convenience hint to the appmod? if Yaws is looking for #rewrite_response, maybe add a rewrite_response field to #arg so it is obvious where to put it? just an idea..