improved method 'getItem' of 'Request' class