test1035 720 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. HTTP proxy
  7. IDN
  8. FAILURE
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. none
  20. </server>
  21. <features>
  22. idn
  23. http
  24. </features>
  25. <setenv>
  26. LC_ALL=
  27. LC_CTYPE=en_US.UTF-8
  28. </setenv>
  29. <precheck>
  30. perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
  31. </precheck>
  32. <name>
  33. HTTP over proxy with too long IDN host name
  34. </name>
  35. <command>
  36. http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPORT
  37. </command>
  38. </client>
  39. #
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <strip>
  43. ^User-Agent:.*
  44. </strip>
  45. <errorcode>
  46. 3
  47. </errorcode>
  48. </verify>
  49. </testcase>