test1035 705 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. proxy
  25. </features>
  26. <setenv>
  27. LC_ALL=
  28. LC_CTYPE=en_US.UTF-8
  29. </setenv>
  30. <precheck>
  31. perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
  32. </precheck>
  33. <name>
  34. HTTP over proxy with too long IDN host name
  35. </name>
  36. <command>
  37. http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT
  38. </command>
  39. </client>
  40. #
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. <errorcode>
  44. 3
  45. </errorcode>
  46. </verify>
  47. </testcase>