anchor.diff:              _authCookie.add(setCookiePart.split(';')[0]);
             }
             hasValidated = true;
  -          return new Future.value();
  +          return null;
           }
         } else {
           var contentLength = new Ref<int>.withValue(int.parse(response.headers[HttpHeaders.CONTENT_LENGTH][0]));
  
positive.code:       });
        return request.done;
      })
          //TODO: Add the headers from the response.
          .then((HttpClientResponse response) {
        final encoder = new AsciiEncoder();
        output.add(encoder.convert('HTTP/1.1 ${response.statusCode} ${response.reasonPhrase}\r\n'));
        response.headers.forEach((headerName, headerValues) {
  
negative.code:         pathSegments: uri.pathSegments,
          queryParameters: uri.queryParameters,
          fragment: uri.fragment);
      _ensureHasValidated()
      .then((_) => client.openUrl(method, couchUri))
      .then((HttpClientRequest request) {
        for (var header in headers.keys) {
          request.headers.add(header, headers[header]);
        }
  