how a request-response cycle works in web systems