2
0

test2078 756 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. GSS-API
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK swsclose
  13. Content-Length: 23
  14. This IS the real page!
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <features>
  23. GSS-API
  24. </features>
  25. <name>
  26. curl --negotiate should not send empty POST request only
  27. </name>
  28. <command>
  29. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --negotiate --data name=value
  30. </command>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <errorcode>
  35. 0
  36. </errorcode>
  37. <protocol nonewline="yes">
  38. POST /%TESTNUMBER HTTP/1.1
  39. Host: %HOSTIP:%HTTPPORT
  40. User-Agent: curl/%VERSION
  41. Accept: */*
  42. Content-Length: 10
  43. Content-Type: application/x-www-form-urlencoded
  44. name=value
  45. </protocol>
  46. </verify>
  47. </testcase>