+1 for @mattfarina idea number 2 and @Crell corrections about request object.