File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test841
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: IMAP
    5: Clear Text
    6: FETCH
    7: CUSTOMREQUEST
    8: </keywords>
    9: </info>
   10: 
   11: #
   12: # Server-side
   13: <reply>
   14: <data>
   15: body
   16: 
   17: + Curl did not used to like this line
   18: --
   19:   yours sincerely
   20: </data>
   21: <datacheck>
   22: * 123 FETCH (BODY[1] {70}
   23: </datacheck>
   24: </reply>
   25: 
   26: #
   27: # Client-side
   28: <client>
   29: <server>
   30: imap
   31: </server>
   32:  <name>
   33: IMAP custom request doesn't check continuation data
   34:  </name>
   35:  <command>
   36:  imap://%HOSTIP:%IMAPPORT/841/ -u user:secret -X 'FETCH 123 BODY[1]'
   37: </command>
   38: </client>
   39: 
   40: #
   41: # Verify data after the test has been "shot"
   42: <verify>
   43: <protocol>
   44: A001 CAPABILITY
   45: A002 LOGIN user secret
   46: A003 SELECT 841
   47: A004 FETCH 123 BODY[1]
   48: A005 LOGOUT
   49: </protocol>
   50: </verify>
   51: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>