Return to test1321 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: IMAP ! 5: FETCH ! 6: HTTP ! 7: HTTP CONNECT ! 8: HTTP proxy ! 9: </keywords> ! 10: </info> ! 11: ! 12: # ! 13: # Server-side ! 14: <reply> ! 15: <connect> ! 16: HTTP/1.1 200 Mighty fine indeed ! 17: imap: sure hit me ! 18: ! 19: </connect> ! 20: <data> ! 21: From: me@somewhere ! 22: To: fake@nowhere ! 23: ! 24: body ! 25: ! 26: -- ! 27: yours sincerely ! 28: </data> ! 29: <datacheck> ! 30: From: me@somewhere ! 31: To: fake@nowhere ! 32: ! 33: body ! 34: ! 35: -- ! 36: yours sincerely ! 37: </datacheck> ! 38: </reply> ! 39: ! 40: # ! 41: # Client-side ! 42: <client> ! 43: <server> ! 44: imap ! 45: http-proxy ! 46: </server> ! 47: <features> ! 48: http ! 49: proxy ! 50: </features> ! 51: <name> ! 52: IMAP FETCH tunneled through HTTP proxy ! 53: </name> ! 54: <command> ! 55: 'imap://imap.1321:%IMAPPORT/1321/;MAILINDEX=1' -u user:secret -p -x %HOSTIP:%PROXYPORT ! 56: </command> ! 57: </client> ! 58: ! 59: # ! 60: # Verify data after the test has been "shot" ! 61: <verify> ! 62: <strip> ! 63: ^User-Agent: curl/.* ! 64: </strip> ! 65: <protocol> ! 66: A001 CAPABILITY ! 67: A002 LOGIN user secret ! 68: A003 SELECT 1321 ! 69: A004 FETCH 1 BODY[] ! 70: A005 LOGOUT ! 71: </protocol> ! 72: <proxy> ! 73: CONNECT imap.1321:%IMAPPORT HTTP/1.1 ! 74: Host: imap.1321:%IMAPPORT ! 75: 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 ! 76: Proxy-Connection: Keep-Alive ! 77: ! 78: </proxy> ! 79: </verify> ! 80: </testcase>