Annotation of embedaddon/curl/tests/data/test1235, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: globbing
7: {} list
8: </keywords>
9: </info>
10: # Server-side
11: <reply>
12: <data1>
13: HTTP/1.1 200 OK
14: Funny-head: yesyes
15: Content-Length: 15
16:
17: the number one
18: </data1>
19: <data2>
20: HTTP/1.1 200 OK
21: Funny-head: yesyes
22: Content-Length: 16
23:
24: two is nice too
25: </data2>
26: </reply>
27:
28: # Client-side
29: <client>
30: <server>
31: http
32: </server>
33: <name>
34: multiple requests using {}{} in the URL
35: </name>
36: <command>
37: "%HOSTIP:%HTTPPORT/{1235,1235}{0001,0002}"
38: </command>
39: </client>
40:
41: # Verify data after the test has been "shot"
42: <verify>
43: <strip>
44: ^User-Agent:.*
45: </strip>
46: <protocol>
47: GET /12350001 HTTP/1.1
48: User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
49: Host: %HOSTIP:%HTTPPORT
50: Accept: */*
51:
52: GET /12350002 HTTP/1.1
53: User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
54: Host: %HOSTIP:%HTTPPORT
55: Accept: */*
56:
57: GET /12350001 HTTP/1.1
58: User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
59: Host: %HOSTIP:%HTTPPORT
60: Accept: */*
61:
62: GET /12350002 HTTP/1.1
63: User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
64: Host: %HOSTIP:%HTTPPORT
65: Accept: */*
66:
67: </protocol>
68: <stdout>
69: --_curl_--%HOSTIP:%HTTPPORT/12350001
70: HTTP/1.1 200 OK
71: Funny-head: yesyes
72: Content-Length: 15
73:
74: the number one
75: --_curl_--%HOSTIP:%HTTPPORT/12350002
76: HTTP/1.1 200 OK
77: Funny-head: yesyes
78: Content-Length: 16
79:
80: two is nice too
81: --_curl_--%HOSTIP:%HTTPPORT/12350001
82: HTTP/1.1 200 OK
83: Funny-head: yesyes
84: Content-Length: 15
85:
86: the number one
87: --_curl_--%HOSTIP:%HTTPPORT/12350002
88: HTTP/1.1 200 OK
89: Funny-head: yesyes
90: Content-Length: 16
91:
92: two is nice too
93: </stdout>
94: </verify>
95: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>