test372 651 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. <reply>
  9. <data>
  10. HTTP/1.1 200 OK
  11. Date: Thu, 22 Jul 2010 11:22:33 GMT
  12. Connection: close
  13. Content-Type: text/html
  14. X-Control: swsclose
  15. Content-Length: 2
  16. %hex[%00]hex%
  17. </data>
  18. </reply>
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. <name>
  24. Binary zero in data element.
  25. </name>
  26. <features>
  27. proxy
  28. </features>
  29. <command>
  30. --raw http://%HOSTIP:%HTTPPORT/binary-zero-in-data-section/%TESTNUMBER
  31. </command>
  32. </client>
  33. <verify>
  34. <protocol>
  35. GET /binary-zero-in-data-section/%TESTNUMBER HTTP/1.1
  36. Host: %HOSTIP:%HTTPPORT
  37. User-Agent: curl/%VERSION
  38. Accept: */*
  39. </protocol>
  40. <errorcode>
  41. 0
  42. </errorcode>
  43. </verify>
  44. </testcase>