mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -05:00
69745aaa45
According to RFC 2616 and RFC 2326 individual protocol elements, like headers and except the actual content, are terminated by using CRLF. Therefore the test data files for these protocols need to contain mixed line-endings if the actual protocol elements use CRLF while the file uses LF.
51 lines
588 B
Plaintext
51 lines
588 B
Plaintext
<testcase>
|
|
|
|
#Informational
|
|
<info>
|
|
<keywords>
|
|
RTSP
|
|
OPTIONS
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
RTSP/1.0 200 OK
|
|
Server: RTSPD/libcurl-test
|
|
CSeq: 1
|
|
Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
|
|
Curl-Private: swsclose
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-Side
|
|
<client>
|
|
<server>
|
|
rtsp
|
|
</server>
|
|
<tool>
|
|
lib567
|
|
</tool>
|
|
|
|
<name>
|
|
simple RTSP OPTIONS command
|
|
</name>
|
|
<command>
|
|
rtsp://%HOSTIP:%RTSPPORT/567
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
<protocol>
|
|
OPTIONS rtsp://%HOSTIP:%RTSPPORT/567 RTSP/1.0
|
|
CSeq: 1
|
|
User-Agent: test567
|
|
Test-Number: 567
|
|
|
|
</protocol>
|
|
</verify>
|
|
|
|
</testcase>
|
|
|