apple / swift-nio-imap

A Swift project that provides an implementation of the IMAP4rev1 protocol, built upon SwiftNIO.
Apache License 2.0
101 stars 14 forks source link

RFC 7377: Use `RETURN (ALL)` instead of `RETURN ()` #768

Closed danieleggert closed 2 months ago

danieleggert commented 2 months ago

RFC 7377: Use RETURN (ALL) instead of RETURN ()

Motivation:

RFC 7377 allows search options ALL to be encoded as RETURN () instead of RETURN (ALL), but some servers fail to properly parse this.

Modifications:

We will now encode [SearchReturnOption.all] as RETURN (ALL) instead of RETURN ().