诸暨麻将添加redis
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

84 строки
1.1 KiB

  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. RETR
  6. HTTP
  7. HTTP CONNECT
  8. HTTP proxy
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <connect>
  15. HTTP/1.1 200 Mighty fine indeed
  16. pop3: sure hit me
  17. </connect>
  18. # When doing LIST, we get the default list output hard-coded in the test
  19. # FTP server
  20. <data>
  21. From: me@somewhere
  22. To: fake@nowhere
  23. body
  24. --
  25. yours sincerely
  26. </data>
  27. <datacheck>
  28. HTTP/1.1 200 Mighty fine indeed
  29. pop3: sure hit me
  30. From: me@somewhere
  31. To: fake@nowhere
  32. body
  33. --
  34. yours sincerely
  35. </datacheck>
  36. </reply>
  37. #
  38. # Client-side
  39. <client>
  40. <server>
  41. pop3
  42. http-proxy
  43. </server>
  44. <name>
  45. POP3 fetch tunneled through HTTP proxy
  46. </name>
  47. <command>
  48. pop3://pop.1319:%POP3PORT/1319 -p -x %HOSTIP:%PROXYPORT -u user:secret
  49. </command>
  50. </client>
  51. #
  52. # Verify data after the test has been "shot"
  53. <verify>
  54. <strip>
  55. ^User-Agent:
  56. </strip>
  57. <protocol>
  58. CAPA
  59. USER user
  60. PASS secret
  61. RETR 1319
  62. QUIT
  63. </protocol>
  64. <proxy>
  65. CONNECT pop.1319:%POP3PORT HTTP/1.1
  66. Host: pop.1319:%POP3PORT
  67. User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e
  68. Proxy-Connection: Keep-Alive
  69. </proxy>
  70. </verify>
  71. </testcase>