I added integration tests for request_middleware. I improved documentation for request_response cycle.