title: HttpModule/HttpApplication testing whether url is a request for a file
body: <p>Within a HttpModule I would like to check whether the url ends with a file:</p>
  
  <p>ie. www.example.com/images/images.css</p>
  
  <p>and what the file extension is ie. css or js</p>
  
  <p>In the Begin_Request event handler, using the Url property of the Request object nested in the HttpApplication, I am currently cutting of the file extension using String operations. Is there a better way to do this?</p>