[ 
https://issues.apache.org/jira/browse/IMAP-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer resolved IMAP-294.
--------------------------------

    Resolution: Fixed

fixed!

> HeaderBodyElement incorrectly calculate the size if no matching header was 
> found
> --------------------------------------------------------------------------------
>
>                 Key: IMAP-294
>                 URL: https://issues.apache.org/jira/browse/IMAP-294
>             Project: JAMES Imap
>          Issue Type: Bug
>          Components: Protocol
>    Affects Versions: 0.2-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> If you use "fetch 1 body.peek[header.fields (nonexistheader)]" an rfc3501 
> IMAPServer must respond with a literal of size 2 and writing a blank line.
> See rfc3501:
>          The subset returned by HEADER.FIELDS
>          contains only those header fields with a field-name that
>          matches one of the names in the list; similarly, the subset
>          returned by HEADER.FIELDS.NOT contains only the header fields
>          with a non-matching field-name.  The field-matching is
>          case-insensitive but otherwise exact.  Subsetting does not
>          exclude the [RFC-2822] delimiting blank line between the header
>          and the body; the blank line is included in all header fetches,
>          except in the case of a message which has no body and no blank
>          line.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to