@@ -530,39 +530,18 @@ func TestCreateServers(t *testing.T) {
530
530
"1_6" : {
531
531
{RedirectPath : "@rule6-route0" , Headers : []string {"redirect:this" }},
532
532
},
533
- "1_6EXACT" : {
534
- {
535
- RedirectPath : "@rule6-route0" ,
536
- Headers : []string {"redirect:this" },
537
- },
538
- },
539
533
"1_8" : {
540
534
{
541
535
Headers : []string {"rewrite:this" },
542
536
RedirectPath : "@rule8-route0" ,
543
537
},
544
538
},
545
- "1_8EXACT" : {
546
- {
547
- RedirectPath : "@rule8-route0" ,
548
- Headers : []string {"rewrite:this" },
549
- },
550
- },
551
539
"1_10" : {
552
540
{
553
541
Headers : []string {"filter:this" },
554
542
RedirectPath : "@rule10-route0" ,
555
543
},
556
544
},
557
- "1_10EXACT" : {
558
- {
559
- Headers : []string {"filter:this" },
560
- RedirectPath : "@rule10-route0" ,
561
- },
562
- },
563
- "1_12EXACT" : {
564
- {Method : "GET" , RedirectPath : "@rule12-route0" },
565
- },
566
545
"SSL1_0" : {
567
546
{Method : "POST" , RedirectPath : "@rule0-route0" },
568
547
{Method : "PATCH" , RedirectPath : "@rule0-route1" },
@@ -579,40 +558,34 @@ func TestCreateServers(t *testing.T) {
579
558
"SSL1_6" : {
580
559
{RedirectPath : "@rule6-route0" , Headers : []string {"redirect:this" }},
581
560
},
582
- "SSL1_6EXACT" : {
583
- {
584
- Headers : []string {"redirect:this" },
585
- RedirectPath : "@rule6-route0" ,
586
- },
587
- },
588
561
"SSL1_8" : {
589
562
{
590
563
Headers : []string {"rewrite:this" },
591
564
RedirectPath : "@rule8-route0" ,
592
565
},
593
566
},
594
- "SSL1_8EXACT" : {
595
- {
596
- RedirectPath : "@rule8-route0" ,
597
- Headers : []string {"rewrite:this" },
598
- },
599
- },
600
567
"SSL1_10" : {
601
568
{
602
569
RedirectPath : "@rule10-route0" ,
603
570
Headers : []string {"filter:this" },
604
571
},
605
572
},
606
- "SSL1_10EXACT " : {
573
+ "1_12 " : {
607
574
{
608
- RedirectPath : "@rule10-route0" ,
609
- Headers : []string {"filter:this" },
575
+ Method : "GET" ,
576
+ RedirectPath : "@rule12-route0" ,
577
+ Headers : nil ,
578
+ QueryParams : nil ,
579
+ Any : false ,
610
580
},
611
581
},
612
- "SSL1_12EXACT " : {
582
+ "SSL1_12 " : {
613
583
{
614
584
Method : "GET" ,
615
585
RedirectPath : "@rule12-route0" ,
586
+ Headers : nil ,
587
+ QueryParams : nil ,
588
+ Any : false ,
616
589
},
617
590
},
618
591
}
@@ -742,7 +715,7 @@ func TestCreateServers(t *testing.T) {
742
715
},
743
716
{
744
717
Path : "= /redirect-with-headers" ,
745
- HTTPMatchKey : ssl + "1_6" + "EXACT" ,
718
+ HTTPMatchKey : ssl + "1_6" ,
746
719
},
747
720
{
748
721
Path : "/rewrite/" ,
@@ -768,7 +741,7 @@ func TestCreateServers(t *testing.T) {
768
741
},
769
742
{
770
743
Path : "= /rewrite-with-headers" ,
771
- HTTPMatchKey : ssl + "1_8" + "EXACT" ,
744
+ HTTPMatchKey : ssl + "1_8" ,
772
745
},
773
746
{
774
747
Path : "/invalid-filter/" ,
@@ -794,7 +767,7 @@ func TestCreateServers(t *testing.T) {
794
767
},
795
768
{
796
769
Path : "= /invalid-filter-with-headers" ,
797
- HTTPMatchKey : ssl + "1_10" + "EXACT" ,
770
+ HTTPMatchKey : ssl + "1_10" ,
798
771
},
799
772
{
800
773
Path : "= /exact" ,
@@ -808,7 +781,7 @@ func TestCreateServers(t *testing.T) {
808
781
},
809
782
{
810
783
Path : "= /test" ,
811
- HTTPMatchKey : ssl + "1_12" + "EXACT" ,
784
+ HTTPMatchKey : ssl + "1_12" ,
812
785
},
813
786
{
814
787
Path : "/proxy-set-headers/" ,
0 commit comments