Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test577
1 <testcase>
2
3 #Informational
4 <info>
5 <keywords>
6 RTSP
7 OPTIONS
8 </keywords>
9 </info>
10
11 # Server-side
12 <reply>
13 <data>
14 RTSP/1.1234567 200 OK
15 Server: RTSPD/libcurl-test
16 CSeq: 1
17 Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
18 Curl-Private: swsclose
19 </data>
20 <datacheck>
21 </datacheck>
22 </reply>
23
24 # Client-Side
25 <client>
26 <server>
27 rtsp
28 </server>
29 <tool>
30 lib567
31 </tool>
32
33 <name>
34 Funny RTSP version in response
35 </name>
36 <command>
37 rtsp://%HOSTIP:%RTSPPORT/577
38 </command>
39 </client>
40
41 <verify>
42 <protocol>
43 OPTIONS rtsp://%HOSTIP:%RTSPPORT/577 RTSP/1.0
44 CSeq: 1
45 User-Agent: test567
46 Test-Number: 567
47
48 </protocol>
49 # 8 == CURLE_WEIRD_SERVER_REPLY
50 <errorcode>
51 8
52 </errorcode>
53 </verify>
54
55 </testcase>