@@ -77,7 +77,7 @@ func TestHTTPBodyLengthChecks(t *testing.T) {
77
77
tk : urlgetter.TestKeys {
78
78
Requests : []tracex.RequestEntry {{
79
79
Response : tracex.HTTPResponse {
80
- Body : model .ArchivalMaybeBinaryString (
80
+ Body : model .ArchivalScrubbedMaybeBinaryString (
81
81
randx .Letters (768 ),
82
82
),
83
83
},
@@ -96,7 +96,7 @@ func TestHTTPBodyLengthChecks(t *testing.T) {
96
96
tk : urlgetter.TestKeys {
97
97
Requests : []tracex.RequestEntry {{
98
98
Response : tracex.HTTPResponse {
99
- Body : model .ArchivalMaybeBinaryString (
99
+ Body : model .ArchivalScrubbedMaybeBinaryString (
100
100
randx .Letters (768 ),
101
101
),
102
102
},
@@ -116,7 +116,7 @@ func TestHTTPBodyLengthChecks(t *testing.T) {
116
116
tk : urlgetter.TestKeys {
117
117
Requests : []tracex.RequestEntry {{
118
118
Response : tracex.HTTPResponse {
119
- Body : model .ArchivalMaybeBinaryString (
119
+ Body : model .ArchivalScrubbedMaybeBinaryString (
120
120
randx .Letters (1024 ),
121
121
),
122
122
},
@@ -136,7 +136,7 @@ func TestHTTPBodyLengthChecks(t *testing.T) {
136
136
tk : urlgetter.TestKeys {
137
137
Requests : []tracex.RequestEntry {{
138
138
Response : tracex.HTTPResponse {
139
- Body : model .ArchivalMaybeBinaryString (
139
+ Body : model .ArchivalScrubbedMaybeBinaryString (
140
140
randx .Letters (8 ),
141
141
),
142
142
},
@@ -156,7 +156,7 @@ func TestHTTPBodyLengthChecks(t *testing.T) {
156
156
tk : urlgetter.TestKeys {
157
157
Requests : []tracex.RequestEntry {{
158
158
Response : tracex.HTTPResponse {
159
- Body : model .ArchivalMaybeBinaryString (
159
+ Body : model .ArchivalScrubbedMaybeBinaryString (
160
160
randx .Letters (16 ),
161
161
),
162
162
},
@@ -366,7 +366,7 @@ func TestHeadersMatch(t *testing.T) {
366
366
tk : urlgetter.TestKeys {
367
367
Requests : []tracex.RequestEntry {{
368
368
Response : tracex.HTTPResponse {
369
- Headers : map [string ]model.ArchivalMaybeBinaryString {
369
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
370
370
"Date" : "Mon Jul 13 21:10:08 CEST 2020" ,
371
371
},
372
372
Code : 200 ,
@@ -382,7 +382,7 @@ func TestHeadersMatch(t *testing.T) {
382
382
tk : urlgetter.TestKeys {
383
383
Requests : []tracex.RequestEntry {{
384
384
Response : tracex.HTTPResponse {
385
- Headers : map [string ]model.ArchivalMaybeBinaryString {
385
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
386
386
"Date" : "Mon Jul 13 21:10:08 CEST 2020" ,
387
387
},
388
388
Code : 200 ,
@@ -402,7 +402,7 @@ func TestHeadersMatch(t *testing.T) {
402
402
tk : urlgetter.TestKeys {
403
403
Requests : []tracex.RequestEntry {{
404
404
Response : tracex.HTTPResponse {
405
- Headers : map [string ]model.ArchivalMaybeBinaryString {
405
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
406
406
"Date" : "Mon Jul 13 21:10:08 CEST 2020" ,
407
407
},
408
408
Code : 200 ,
@@ -425,7 +425,7 @@ func TestHeadersMatch(t *testing.T) {
425
425
tk : urlgetter.TestKeys {
426
426
Requests : []tracex.RequestEntry {{
427
427
Response : tracex.HTTPResponse {
428
- Headers : map [string ]model.ArchivalMaybeBinaryString {
428
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
429
429
"Date" : "Mon Jul 13 21:10:08 CEST 2020" ,
430
430
"Antani" : "MASCETTI" ,
431
431
},
@@ -450,7 +450,7 @@ func TestHeadersMatch(t *testing.T) {
450
450
tk : urlgetter.TestKeys {
451
451
Requests : []tracex.RequestEntry {{
452
452
Response : tracex.HTTPResponse {
453
- Headers : map [string ]model.ArchivalMaybeBinaryString {
453
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
454
454
"Date" : "Mon Jul 13 21:10:08 CEST 2020" ,
455
455
"Antani" : "MASCETTI" ,
456
456
},
@@ -475,7 +475,7 @@ func TestHeadersMatch(t *testing.T) {
475
475
tk : urlgetter.TestKeys {
476
476
Requests : []tracex.RequestEntry {{
477
477
Response : tracex.HTTPResponse {
478
- Headers : map [string ]model.ArchivalMaybeBinaryString {
478
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
479
479
"Accept-Ranges" : "bytes" ,
480
480
"Age" : "404727" ,
481
481
"Cache-Control" : "max-age=604800" ,
@@ -522,7 +522,7 @@ func TestHeadersMatch(t *testing.T) {
522
522
tk : urlgetter.TestKeys {
523
523
Requests : []tracex.RequestEntry {{
524
524
Response : tracex.HTTPResponse {
525
- Headers : map [string ]model.ArchivalMaybeBinaryString {
525
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
526
526
"Accept-Ranges" : "bytes" ,
527
527
"Age" : "404727" ,
528
528
"Cache-Control" : "max-age=604800" ,
@@ -567,7 +567,7 @@ func TestHeadersMatch(t *testing.T) {
567
567
tk : urlgetter.TestKeys {
568
568
Requests : []tracex.RequestEntry {{
569
569
Response : tracex.HTTPResponse {
570
- Headers : map [string ]model.ArchivalMaybeBinaryString {
570
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
571
571
"Accept-Ranges" : "bytes" ,
572
572
"Age" : "404727" ,
573
573
"Cache-Control" : "max-age=604800" ,
@@ -608,7 +608,7 @@ func TestHeadersMatch(t *testing.T) {
608
608
tk : urlgetter.TestKeys {
609
609
Requests : []tracex.RequestEntry {{
610
610
Response : tracex.HTTPResponse {
611
- Headers : map [string ]model.ArchivalMaybeBinaryString {
611
+ Headers : map [string ]model.ArchivalScrubbedMaybeBinaryString {
612
612
"accept-ranges" : "bytes" ,
613
613
"AGE" : "404727" ,
614
614
"cache-Control" : "max-age=604800" ,
@@ -699,7 +699,7 @@ func TestTitleMatch(t *testing.T) {
699
699
Requests : []tracex.RequestEntry {{
700
700
Response : tracex.HTTPResponse {
701
701
Code : 200 ,
702
- Body : model .ArchivalMaybeBinaryString ("<HTML/>" ),
702
+ Body : model .ArchivalScrubbedMaybeBinaryString ("<HTML/>" ),
703
703
},
704
704
}},
705
705
},
@@ -712,7 +712,7 @@ func TestTitleMatch(t *testing.T) {
712
712
Requests : []tracex.RequestEntry {{
713
713
Response : tracex.HTTPResponse {
714
714
Code : 200 ,
715
- Body : model .ArchivalMaybeBinaryString ("<HTML/>" ),
715
+ Body : model .ArchivalScrubbedMaybeBinaryString ("<HTML/>" ),
716
716
},
717
717
}},
718
718
},
@@ -731,7 +731,7 @@ func TestTitleMatch(t *testing.T) {
731
731
Requests : []tracex.RequestEntry {{
732
732
Response : tracex.HTTPResponse {
733
733
Code : 200 ,
734
- Body : model .ArchivalMaybeBinaryString (
734
+ Body : model .ArchivalScrubbedMaybeBinaryString (
735
735
"<HTML><TITLE>La community di MSN</TITLE></HTML>" ),
736
736
},
737
737
}},
@@ -751,7 +751,7 @@ func TestTitleMatch(t *testing.T) {
751
751
Requests : []tracex.RequestEntry {{
752
752
Response : tracex.HTTPResponse {
753
753
Code : 200 ,
754
- Body : model .ArchivalMaybeBinaryString (
754
+ Body : model .ArchivalScrubbedMaybeBinaryString (
755
755
"<HTML><TITLE>La communità di MSN</TITLE></HTML>" ),
756
756
},
757
757
}},
@@ -771,7 +771,7 @@ func TestTitleMatch(t *testing.T) {
771
771
Requests : []tracex.RequestEntry {{
772
772
Response : tracex.HTTPResponse {
773
773
Code : 200 ,
774
- Body : model .ArchivalMaybeBinaryString (
774
+ Body : model .ArchivalScrubbedMaybeBinaryString (
775
775
"<HTML><TITLE>" + randx .Letters (1024 ) + "</TITLE></HTML>" ),
776
776
},
777
777
}},
@@ -791,7 +791,7 @@ func TestTitleMatch(t *testing.T) {
791
791
Requests : []tracex.RequestEntry {{
792
792
Response : tracex.HTTPResponse {
793
793
Code : 200 ,
794
- Body : model .ArchivalMaybeBinaryString (
794
+ Body : model .ArchivalScrubbedMaybeBinaryString (
795
795
"<HTML><TiTLe>La commUNity di MSN</tITLE></HTML>" ),
796
796
},
797
797
}},
@@ -811,7 +811,7 @@ func TestTitleMatch(t *testing.T) {
811
811
Requests : []tracex.RequestEntry {{
812
812
Response : tracex.HTTPResponse {
813
813
Code : 200 ,
814
- Body : model .ArchivalMaybeBinaryString (
814
+ Body : model .ArchivalScrubbedMaybeBinaryString (
815
815
"<HTML><TiTLe>La commUNity di MSN</tITLE></HTML>" ),
816
816
},
817
817
}},
0 commit comments