test1800 736 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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: Thu, 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. <server>
  24. http
  25. </server>
  26. <features>
  27. http/2
  28. </features>
  29. <name>
  30. HTTP/2 upgrade refused
  31. </name>
  32. <command>
  33. http://%HOSTIP:%HTTPPORT/1800 --http2
  34. </command>
  35. </client>
  36. <verify>
  37. <strip>
  38. ^User-Agent:.*
  39. </strip>
  40. <protocol>
  41. GET /1800 HTTP/1.1
  42. Host: %HOSTIP:%HTTPPORT
  43. Accept: */*
  44. Connection: Upgrade, HTTP2-Settings
  45. Upgrade: %H2CVER
  46. HTTP2-Settings: AAMAAABkAARAAAAAAAIAAAAA
  47. </protocol>
  48. </verify>
  49. </testcase>