Implementing the request pipeline