if (requestHost == null)
throw new MockBrowserException(request, "No host could be found to handle request", null);
MockServerHost serverHost = (MockServerHost) requestHost;
MockServerResponse serverResponse = serverHost.process(request);
MockHttpServletResponse response = (MockHttpServletResponse) serverResponse.getResponse();
for (Cookie cookie : response.getCookies()) cookies.put(cookie.getName(), cookie);