@@ -426,7 +426,7 @@ def test_vsicurl_test_redirect_with_expires(server):
426
426
current_time = 1500
427
427
428
428
def method (request ):
429
- response = "HTTP/1.1 302\r \n "
429
+ response = "HTTP/1.1 302 Found \r \n "
430
430
response += "Server: foo\r \n "
431
431
response += (
432
432
"Date: "
@@ -473,7 +473,7 @@ def method(request):
473
473
request .end_headers ()
474
474
else :
475
475
# After a failed attempt on a HEAD, the client should go there
476
- response = "HTTP/1.1 200\r \n "
476
+ response = "HTTP/1.1 200 OK \r \n "
477
477
response += "Server: foo\r \n "
478
478
response += (
479
479
"Date: "
@@ -590,7 +590,7 @@ def test_vsicurl_test_redirect_x_amz(server):
590
590
current_time = 1500
591
591
592
592
def method (request ):
593
- response = "HTTP/1.1 302\r \n "
593
+ response = "HTTP/1.1 302 Found \r \n "
594
594
response += "Server: foo\r \n "
595
595
response += (
596
596
"Date: "
@@ -640,7 +640,7 @@ def method(request):
640
640
request .end_headers ()
641
641
else :
642
642
# After a failed attempt on a HEAD, the client should go there
643
- response = "HTTP/1.1 200\r \n "
643
+ response = "HTTP/1.1 200 OK \r \n "
644
644
response += "Server: foo\r \n "
645
645
response += (
646
646
"Date: "
@@ -1369,7 +1369,7 @@ def test_vsicurl_test_CPL_VSIL_CURL_USE_HEAD_NO(server):
1369
1369
handler .add ("GET" , "/test_CPL_VSIL_CURL_USE_HEAD_NO/" , 404 )
1370
1370
1371
1371
def method (request ):
1372
- response = "HTTP/1.1 200\r \n "
1372
+ response = "HTTP/1.1 200 OK \r \n "
1373
1373
response += "Server: foo\r \n "
1374
1374
response += "Content-type: text/plain\r \n "
1375
1375
response += "Content-Length: 1000000\r \n "
0 commit comments