mirror of
https://github.com/curl/curl.git
synced 2026-08-26 09:13:32 +03:00
imap: Added support for SASL based authentication mechanism detection
Added support for detecting the supported SASL authentication mechanisms via the CAPABILITY command.
This commit is contained in:
parent
4a5aa6682d
commit
db20517796
4 changed files with 132 additions and 22 deletions
|
|
@ -56,10 +56,11 @@ imap://%HOSTIP:%IMAPPORT/1321 -u user:secret -p -x %HOSTIP:%PROXYPORT
|
|||
^User-Agent: curl/.*
|
||||
</strip>
|
||||
<protocol>
|
||||
B LOGIN user secret
|
||||
C SELECT 1321
|
||||
D FETCH 1 BODY[TEXT]
|
||||
A LOGOUT
|
||||
B CAPABILITY
|
||||
C LOGIN user secret
|
||||
D SELECT 1321
|
||||
A FETCH 1 BODY[TEXT]
|
||||
B LOGOUT
|
||||
</protocol>
|
||||
<proxy>
|
||||
CONNECT %HOSTIP:%IMAPPORT HTTP/1.1
|
||||
|
|
|
|||
|
|
@ -38,10 +38,11 @@ imap://%HOSTIP:%IMAPPORT/801 -u user:secret
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
B LOGIN user secret
|
||||
C SELECT 801
|
||||
D FETCH 1 BODY[TEXT]
|
||||
A LOGOUT
|
||||
B CAPABILITY
|
||||
C LOGIN user secret
|
||||
D SELECT 801
|
||||
A FETCH 1 BODY[TEXT]
|
||||
B LOGOUT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue