added http request handler with regexp