诸暨麻将添加redis
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

80 linhas
1.1 KiB

  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. FETCH
  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. imap: sure hit me
  17. </connect>
  18. <data>
  19. From: me@somewhere
  20. To: fake@nowhere
  21. body
  22. --
  23. yours sincerely
  24. </data>
  25. <datacheck>
  26. HTTP/1.1 200 Mighty fine indeed
  27. imap: sure hit me
  28. From: me@somewhere
  29. To: fake@nowhere
  30. body
  31. --
  32. yours sincerely
  33. </datacheck>
  34. </reply>
  35. #
  36. # Client-side
  37. <client>
  38. <server>
  39. imap
  40. http-proxy
  41. </server>
  42. <name>
  43. IMAP FETCH tunneled through HTTP proxy
  44. </name>
  45. <command>
  46. 'imap://imap.1321:%IMAPPORT/1321/;UID=1' -u user:secret -p -x %HOSTIP:%PROXYPORT
  47. </command>
  48. </client>
  49. #
  50. # Verify data after the test has been "shot"
  51. <verify>
  52. <strip>
  53. ^User-Agent: curl/.*
  54. </strip>
  55. <protocol>
  56. A001 CAPABILITY
  57. A002 LOGIN user secret
  58. A003 SELECT 1321
  59. A004 FETCH 1 BODY[]
  60. A005 LOGOUT
  61. </protocol>
  62. <proxy>
  63. CONNECT imap.1321:%IMAPPORT HTTP/1.1
  64. Host: imap.1321:%IMAPPORT
  65. 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
  66. Proxy-Connection: Keep-Alive
  67. </proxy>
  68. </verify>
  69. </testcase>