anchor.diff:                        } : {
                           'range' : [firstRange],
                         });
  -                  response = emptyResponse(isLast ? 200 : 308, headers, '');
  +                  response = stringResponse(isLast ? 200 : 308, headers, '');
                   } else {
                     var headers = new HeadersImpl({});
  -                  response = emptyResponse(503, headers, '');
  +                  response = stringResponse(503, headers, '');
                   }
   
                   expectations.add({
  
positive.code:                   common_external.Media uploadMedia,
                    common_external.UploadOptions uploadOptions,
                    common_external.DownloadOptions downloadOptions,
                    String uploadMediaPath) {
      bool downloadAsMedia =
          downloadOptions != common_external.DownloadOptions.Metadata;
  
  
negative.code:         }
  
          test('simple', () {
            var bytes =
                new List.generate(10 * 256 * 1024 + 1, (i) => i % 256);
            var expectations = [
                {
                  'url' : 'http://example.com/xyz?uploadType=media',
                  'method' : 'POST',
                  'data' : bytes,
                  'headers' : {
                    'content-length' : '${bytes.length}',
                    'content-type' : 'foobar',
                  },
                  'response' : stringResponse(200, responseHeaders, '')
                },
            ];
  
  