1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

test320: Expect the Host header to be the first header

Required for the test to work after a5d994941c.
This commit is contained in:
Dan Fandrich 2015-03-13 22:37:23 +01:00
parent 983ccdcead
commit 0911b96399

View File

@ -28,8 +28,8 @@ Content-type: text/html
<TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR> <TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
<TR><TD>MAC</TD><TD>SHA1</TD></TR> <TR><TD>MAC</TD><TD>SHA1</TD></TR>
<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE> <TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE>
<hr><P>Your HTTP header was:<PRE>User-Agent: curl/7.21.4-DEV (x86_64-apple-darwin10.5.0) libcurl/7.21.4-DEV GnuTLS/2.10.4 zlib/1.2.5 libidn/1.19 <hr><P>Your HTTP header was:<PRE>Host: localhost:9011
Host: localhost:9011 User-Agent: curl-test-suite
Accept: */* Accept: */*
</PRE></P> </PRE></P>
@ -50,7 +50,7 @@ TLS-SRP
simple TLS-SRP HTTPS GET, check user in response simple TLS-SRP HTTPS GET, check user in response
</name> </name>
<command> <command>
--insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword abc https://%HOSTIP:%HTTPTLSPORT --insecure --tlsauthtype SRP --tlsuser jsmith --tlspassword abc -A curl-test-suite https://%HOSTIP:%HTTPTLSPORT
</command> </command>
</client> </client>
@ -77,8 +77,8 @@ Content-type: text/html
<TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR> <TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
<TR><TD>MAC</TD><TD>SHA1</TD></TR> <TR><TD>MAC</TD><TD>SHA1</TD></TR>
<TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE> <TR><TD>Ciphersuite</TD><TD>SRP_SHA_AES_NNN_CBC_SHA1</TD></TR></p></TABLE>
<PRE> <hr><P>Your HTTP header was:<PRE>Host: %HOSTIP:%HTTPTLSPORT
Host: %HOSTIP:%HTTPTLSPORT User-Agent: curl-test-suite
Accept: */* Accept: */*
</PRE></P> </PRE></P>
@ -87,7 +87,6 @@ Accept: */*
</file> </file>
<stripfile> <stripfile>
s/^<p>Session ID:.*// s/^<p>Session ID:.*//
s/^<hr><P>Your HTTP header was:<PRE>.*/<PRE>/
s/Protocol version:.*[0-9]// s/Protocol version:.*[0-9]//
s/GNUTLS/GnuTLS/ s/GNUTLS/GnuTLS/
s/(AES[-_])\d\d\d([-_]CBC)/$1NNN$2/ s/(AES[-_])\d\d\d([-_]CBC)/$1NNN$2/