tests: update some HTTP/2 over HTTPS tests

- improve descriptions
- require http/2, not h2c, since they are done over HTTPS

Closes #15317
This commit is contained in:
Daniel Stenberg 2024-10-17 11:58:28 +02:00
parent fde5326293
commit beeeb85a78
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
6 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,7 @@ Funny-head: yesyes
<client> <client>
<features> <features>
Debug Debug
h2c http/2
SSL SSL
</features> </features>
<server> <server>
@ -36,7 +36,7 @@ http
http/2 http/2
</server> </server>
<name> <name>
HTTP/2 GET HTTP/2 GET over HTTPS
</name> </name>
<setenv> <setenv>
</setenv> </setenv>

View File

@ -26,14 +26,14 @@ Funny-head: yesyes
<client> <client>
<features> <features>
Debug Debug
h2c http/2
SSL SSL
</features> </features>
<server> <server>
http/2 http/2
</server> </server>
<name> <name>
HTTP/2 GET HTTP/2 POST over HTTPS
</name> </name>
<setenv> <setenv>
</setenv> </setenv>
@ -56,7 +56,7 @@ via: 1.1 nghttpx
</stdout> </stdout>
<protocol nonewline="yes"> <protocol nonewline="yes">
POST /2401 HTTP/1.1 POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTP2TLSPORT Host: %HOSTIP:%HTTP2TLSPORT
User-Agent: curl/%VERSION User-Agent: curl/%VERSION
Accept: */* Accept: */*

View File

@ -47,7 +47,7 @@ file contents should appear once for each file
# Client-side # Client-side
<client> <client>
<features> <features>
h2c http/2
SSL SSL
</features> </features>
<server> <server>
@ -57,7 +57,7 @@ http/2
lib%TESTNUMBER lib%TESTNUMBER
</tool> </tool>
<name> <name>
HTTP GET multiple over HTTP/2 HTTP GET multiple files over HTTP/2 using HTTPS
</name> </name>
<command> <command>
https://%HOSTIP:%HTTP2TLSPORT/path/%TESTNUMBER %HOSTIP %HTTP2TLSPORT https://%HOSTIP:%HTTP2TLSPORT/path/%TESTNUMBER %HOSTIP %HTTP2TLSPORT

View File

@ -29,7 +29,7 @@ Funny-head: yesyes
# Client-side # Client-side
<client> <client>
<features> <features>
h2c http/2
SSL SSL
headers-api headers-api
</features> </features>
@ -37,7 +37,7 @@ headers-api
http/2 http/2
</server> </server>
<name> <name>
HTTP/2 GET HTTP/2 GET using %{header_json}
</name> </name>
<setenv> <setenv>
</setenv> </setenv>

View File

@ -47,7 +47,7 @@ file contents should appear once for each file
# Client-side # Client-side
<client> <client>
<features> <features>
h2c http/2
SSL SSL
</features> </features>
<server> <server>

View File

@ -28,14 +28,14 @@ Funny-head: yesyes
<client> <client>
<features> <features>
Debug Debug
h2c http/2
SSL SSL
</features> </features>
<server> <server>
http/2 http/2
</server> </server>
<name> <name>
HTTP/2 with -f HTTP/2 over HTTPS with -f
</name> </name>
<setenv> <setenv>
</setenv> </setenv>