test577 680 B

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