From 23b8fc15c8653133b2ea664b8f894c74d8862a3c Mon Sep 17 00:00:00 2001 From: Justin Ehlert Date: Tue, 13 Oct 2015 08:55:05 -0500 Subject: imap: Don't check for continuation when executing a CUSTOMREQUEST Bug: https://github.com/bagder/curl/issues/486 Closes https://github.com/bagder/curl/pull/487 --- tests/data/test841 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/data/test841 (limited to 'tests/data/test841') diff --git a/tests/data/test841 b/tests/data/test841 new file mode 100644 index 000000000..839bfe3d0 --- /dev/null +++ b/tests/data/test841 @@ -0,0 +1,51 @@ + + + +IMAP +Clear Text +FETCH +CUSTOMREQUEST + + + +# +# Server-side + + +body + ++ Curl did not used to like this line +-- + yours sincerely + + +* 123 FETCH (BODY[1] {70} + + + +# +# Client-side + + +imap + + +IMAP custom request doesn't check continuation data + + + imap://%HOSTIP:%IMAPPORT/841/ -u user:secret -X 'FETCH 123 BODY[1]' + + + +# +# Verify data after the test has been "shot" + + +A001 CAPABILITY +A002 LOGIN user secret +A003 SELECT 841 +A004 FETCH 123 BODY[1] +A005 LOGOUT + + + -- cgit v1.2.3