anchor.diff:      request.response.headers.contentType = type;
     }
     if (response != null) {
  -    request.response.write(response);
  +    var data = encodeUtf8(response);
  +    request.response.contentLength = data.length;
  +    request.response.add(data);
  +  } else {
  +    request.response.contentLength = 0;
     }
     request.response.close();
   }
  
positive.code: import 'dart:async' show Future;
  import 'dart:io';
  import 'dart:json' as json;
  import 'dart:math' show Random;
  import 'package:args/args.dart' show ArgParser;
  
negative.code:     })
    ]).then((_) {
      HttpServer.bind(address, port).then((server) {
        server.serverHeader = 'dart';
        server.listen((request) {
          switch (request.uri.path) {
            case '/json':
              _jsonTest(request);
              break;
            case '/db':
              _dbTest(request);
              break;
            case '/queries':
              _queriesTest(request);
              break;
            case '/fortunes':
              _fortunesTest(request);
              break;
            case '/updates':
              _updatesTest(request);
              break;
            case '/plaintext':
              _plaintextTest(request);
  