strip off user-agent before checking protocol

This commit is contained in:
Daniel Stenberg 2001-08-09 11:58:56 +00:00
parent f112cc14b9
commit 33dc9c1f95

View File

@ -21,6 +21,9 @@ http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent: curl.*
</strip>
<protocol>
GET /want/26 HTTP/1.1
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)