test1800 764 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP/2
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. HTTP/1.1 200 Ignored!
  12. Date: Tue, 09 Nov 2010 14:49:00 GMT
  13. Server: test-server/fake
  14. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  15. Content-Length: 6
  16. Connection: close
  17. Content-Type: text/html
  18. -foo-
  19. </data>
  20. </reply>
  21. # Client-side
  22. <client>
  23. <features>
  24. h2c
  25. </features>
  26. <server>
  27. http
  28. </server>
  29. <features>
  30. http/2
  31. </features>
  32. <name>
  33. HTTP/2 upgrade refused
  34. </name>
  35. <command>
  36. http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http2
  37. </command>
  38. </client>
  39. <verify>
  40. <protocol>
  41. GET /%TESTNUMBER HTTP/1.1
  42. Host: %HOSTIP:%HTTPPORT
  43. User-Agent: curl/%VERSION
  44. Accept: */*
  45. Connection: Upgrade, HTTP2-Settings
  46. Upgrade: %H2CVER
  47. HTTP2-Settings: AAMAAABkAAQCAAAAAAIAAAAA
  48. </protocol>
  49. </verify>
  50. </testcase>