2
0

test165 761 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP proxy
  7. IDN
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. HTTP/1.1 200 OK
  15. Date: Thu, 09 Nov 2010 14:49:00 GMT
  16. Server: test-server/fake swsclose
  17. Content-Type: text/html
  18. Funny-head: yesyes
  19. </data>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <server>
  25. http
  26. </server>
  27. <features>
  28. idn
  29. </features>
  30. <setenv>
  31. CHARSET=ISO8859-1
  32. </setenv>
  33. <name>
  34. HTTP over proxy with IDN host name
  35. </name>
  36. <command>
  37. http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT
  38. </command>
  39. </client>
  40. #
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. <strip>
  44. ^User-Agent:.*
  45. </strip>
  46. <protocol>
  47. GET http://www.xn--4cab6c.se/page/165 HTTP/1.1
  48. Host: www.xn--4cab6c.se
  49. Accept: */*
  50. Proxy-Connection: Keep-Alive
  51. </protocol>
  52. </verify>
  53. </testcase>