A utility which maps request events to pathname ones