anchor.diff:        templateService.renderPkgVersionsPage(package, versions));
   }
   
  +/// Handles requests for /packages/<package>/versions/<version>.yaml
  +packageVersionHandlerYaml(request, String package, String version) async {
  +  var db = dbService;
  +  var packageVersionKey = db.emptyKey
  +      .append(Package, id: package)
  +      .append(PackageVersion, id: version);
  +
  +  PackageVersion packageVersion = (await db.lookup([packageVersionKey])).first;
  +  if (packageVersion == null) {
  +    return _notFoundHandler(request);
  +  } else {
  +    return _yamlResponse(packageVersion.pubspec.jsonString);
  +  }
  +}
   
   /// Handles request for /api/packages?page=<num>
   apiPackagesHandler(shelf.Request request) async {
  
positive.code:       headers: {'content-type' : 'application/json; charset="utf-8"'});
  }
  
  shelf.Response _atomXmlResponse(String content, {int status: 200}) {
    return new shelf.Response(
        status,
  
negative.code:   }
  
    var package = path.substring(0, slash);
    if (path.substring(slash).startsWith('/versions')) {
      path = path.substring(slash + '/versions'.length);
      if (path.startsWith('/') && path.endsWith('.yaml')) {
        String version = path.substring(1, path.length - '.yaml'.length);
        return packageVersionHandlerYaml(request, package, version);
      } else {
        return packageVersionsHandler(request, package);
      }
    }
    return _notFoundHandler(request);
  }
  