testsuite: changed HTTP and RTSP header line-endings to CRLF
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.
This commit is contained in:
@@ -11,37 +11,37 @@ ANNOUNCE
|
||||
# Server-side
|
||||
<reply>
|
||||
<data1>
|
||||
RTSP/1.0 200 OK
|
||||
Server: RTSPD/libcurl-test
|
||||
Cseq: 1
|
||||
|
||||
RTSP/1.0 200 OK
|
||||
Server: RTSPD/libcurl-test
|
||||
Cseq: 1
|
||||
|
||||
</data1>
|
||||
|
||||
<data2>
|
||||
RTSP/1.0 200 OK
|
||||
Server: RTSPD/libcurl-test
|
||||
Cseq: 2
|
||||
Content-Length: 70
|
||||
Content-Type: application/sdp
|
||||
|
||||
RTSP/1.0 200 OK
|
||||
Server: RTSPD/libcurl-test
|
||||
Cseq: 2
|
||||
Content-Length: 70
|
||||
Content-Type: application/sdp
|
||||
|
||||
v=0
|
||||
s=rtspd SDP
|
||||
i=A fake SDP reply
|
||||
u=http://www.curl.example.com/fakesdp.ps
|
||||
</data2>
|
||||
<data3>
|
||||
RTSP/1.0 200 Okie Dokie
|
||||
Server: RTSPD/libcurl-test
|
||||
Cseq: 3
|
||||
|
||||
RTSP/1.0 200 Okie Dokie
|
||||
Server: RTSPD/libcurl-test
|
||||
Cseq: 3
|
||||
|
||||
</data3>
|
||||
<data4>
|
||||
RTSP/1.0 200 OK
|
||||
Server: RTSPD/libcurl-test
|
||||
CSeq: 4
|
||||
Curl-private: swsclose
|
||||
Informational: Empty Options Response
|
||||
|
||||
RTSP/1.0 200 OK
|
||||
Server: RTSPD/libcurl-test
|
||||
CSeq: 4
|
||||
Curl-private: swsclose
|
||||
Informational: Empty Options Response
|
||||
|
||||
</data4>
|
||||
</reply>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user