1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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 data after the test has been "shot"
<verify> <verify>
<strip>
^User-Agent: curl.*
</strip>
<protocol> <protocol>
GET /want/26 HTTP/1.1 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) User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)