mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-30 05:28:46 +00:00
* Separate resources in QUOTA responses with spaces
RFC 2087 defines quota_list as "(" #quota_resource ")", with a single
space as the delimiter. writeQuotaResources concatenated resources with
no separator, producing e.g. (STORAGE 10 512MESSAGE 1 100).
* Support zero or more quota roots in QUOTAROOT responses
RFC 2087 defines quotaroot_response as "QUOTAROOT" SP astring
*(SP astring): a mailbox has zero or more quota roots. The parser
required exactly one, so `* QUOTAROOT comp.mail.mime` (the RFC's own
example) failed to parse and any roots after the first were dropped.
ResponsePayload.quotaRoot now carries [QuotaRoot]. This is a source-
breaking change to the public API.