A client is initially denied access to a resource due to an unauthorized request. The server responds with a 401 status code and details for Digest authentication. The client then resends the request with a Authorization header containing Digest authentication information and is granted access, receiving a 200 status code and the requested resource.