From: Daniel Stenberg Date: Thu, 9 Aug 2001 11:58:56 +0000 (+0000) Subject: strip off user-agent before checking protocol X-Git-Tag: curl-7_8_1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33dc9c1f9583ccd9e8effb5c3a6fee2b630f6a15;p=curl strip off user-agent before checking protocol --- diff --git a/tests/data/test26 b/tests/data/test26 index d28cebff4..7e08efcc1 100644 --- a/tests/data/test26 +++ b/tests/data/test26 @@ -21,6 +21,9 @@ http://%HOSTIP:%HOSTPORT/want/26 -o - -o - # Verify data after the test has been "shot" + +^User-Agent: curl.* + 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)