#Informational
RTSP
SESSION_ID
# Server-side
RTSP/1.0 200 OK
Server: RTSPD/libcurl-test
CSeq: 1
Session: 00.+1-am-aSe55ion_id\$yes-i-am\$;timeout=60
RTSP/1.0 200 OK
Server: RTSPD/libcurl-test
CSeq: 2
RTSP/1.0 200 OK
Session: \$extraspaces ignore-this-part-------;foo=bar
CSeq: 3
Server: RTSPD/libcurl-test
RTSP/1.0 200 OK
CSeq: 4
Server: RTSPD/libcurl-test
RTSP/1.0 200 OK
Session: A
Server: RTSPD/libcurl-test
CSeq: 5
Informational: Single Character
RTSP/1.0 200 OK
Server: RTSPD/libcurl-test
Curl-Private: swsclose
CSeq: 6
# Client-Side
rtsp
lib%TESTNUMBER
RTSP Session ID parsing
rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER log/idfile%TESTNUMBER.txt
^If-Modified-Since:.*
SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0
CSeq: 1
Transport: Fake/NotReal/JustATest;foo=baz
TEARDOWN rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0
CSeq: 2
Session: 00.+1-am-aSe55ion_id\$yes-i-am\$
SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0
CSeq: 3
Transport: Fake/NotReal/JustATest;foo=baz
TEARDOWN rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0004 RTSP/1.0
CSeq: 4
Session: \$extraspaces
SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0005 RTSP/1.0
CSeq: 5
Transport: Fake/NotReal/JustATest;foo=baz
TEARDOWN rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0006 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]