From 6259bcd51f057a7389bf41a1c653c1e5387c6999 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 28 Jan 2010 04:58:03 +0000 Subject: Chris Conroy provided first RTSP tests --- tests/data/test569 | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 tests/data/test569 (limited to 'tests/data/test569') diff --git a/tests/data/test569 b/tests/data/test569 new file mode 100644 index 000000000..77c258407 --- /dev/null +++ b/tests/data/test569 @@ -0,0 +1,110 @@ + + +#Informational + + +RTSP +SESSION_ID + + + +# Server-side + + +RTSP/1.0 200 OK +Server: SWS/libcurl-test +CSeq: 1 +Session: 00.+1-am-aSe55ion_id\$yes-i-am\$;timeout=60 + + + +RTSP/1.0 200 OK +Server: SWS/libcurl-test +CSeq: 2 + + + +RTSP/1.0 200 OK +Session: \$extraspaces ignore-this-part-------;foo=bar +CSeq: 3 +Server: SWS/libcurl-test + + + +RTSP/1.0 200 OK +CSeq: 4 +Server: SWS/libcurl-test + + + +RTSP/1.0 200 OK +Session: A +Server: SWS/libcurl-test +CSeq: 5 +Informational: Single Character + + + +RTSP/1.0 200 OK +Server: SWS/libcurl-test +Curl-Private: swsclose +CSeq: 6 + + + +# Client-Side + + +rtsp + + +lib569 + + + +RTSP Session ID parsing + + +rtsp://%HOSTIP:%RTSPPORT/569 log/idfile.txt + + + + + +^If-Modified-Since:.* + + +SETUP rtsp://%HOSTIP:%RTSPPORT/5690001 RTSP/1.0 +CSeq: 1 +Transport: Fake/NotReal/JustATest;foo=baz + +TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690002 RTSP/1.0 +CSeq: 2 +Session: 00.+1-am-aSe55ion_id\$yes-i-am\$ + +SETUP rtsp://%HOSTIP:%RTSPPORT/5690003 RTSP/1.0 +CSeq: 3 +Transport: Fake/NotReal/JustATest;foo=baz + +TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690004 RTSP/1.0 +CSeq: 4 +Session: \$extraspaces + +SETUP rtsp://%HOSTIP:%RTSPPORT/5690005 RTSP/1.0 +CSeq: 5 +Transport: Fake/NotReal/JustATest;foo=baz + +TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690006 RTSP/1.0 +CSeq: 6 +Session: A + + + +Got Session ID: [00.+1-am-aSe55ion_id\$yes-i-am\$] +Got Session ID: [\$extraspaces] +Got Session ID: [A] + + + + + -- cgit v1.2.3