Add pathname to request object