Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imap: Don't check for continuation when executing a CUSTOMREQUEST
- Loading branch information
1 parent
e3c8540
commit 23b8fc1
Showing
3 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<testcase> | ||
<info> | ||
<keywords> | ||
IMAP | ||
Clear Text | ||
FETCH | ||
CUSTOMREQUEST | ||
</keywords> | ||
</info> | ||
|
||
# | ||
# Server-side | ||
<reply> | ||
<data> | ||
body | ||
|
||
+ Curl did not used to like this line | ||
-- | ||
yours sincerely | ||
</data> | ||
<datacheck> | ||
* 123 FETCH (BODY[1] {70} | ||
</datacheck> | ||
</reply> | ||
|
||
# | ||
# Client-side | ||
<client> | ||
<server> | ||
imap | ||
</server> | ||
<name> | ||
IMAP custom request doesn't check continuation data | ||
</name> | ||
<command> | ||
imap://%HOSTIP:%IMAPPORT/841/ -u user:secret -X 'FETCH 123 BODY[1]' | ||
</command> | ||
</client> | ||
|
||
# | ||
# Verify data after the test has been "shot" | ||
<verify> | ||
<protocol> | ||
A001 CAPABILITY | ||
A002 LOGIN user secret | ||
A003 SELECT 841 | ||
A004 FETCH 123 BODY[1] | ||
A005 LOGOUT | ||
</protocol> | ||
</verify> | ||
</testcase> |