functions to analyze request urls