Re: [Imap-protocol] ABNF Question regarding parsing of BODYSTRUCTURE FETCH responses

Arnt Gulbrandsen <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On Wednesday, January 29, 2014 2:57:41 PM CEST, [email protected] wrote:
> which to me seems as after every body a SP and media-subtype 
> etc should follow. So I parse the first body-type-1part 
> correctly, but then my parser expects a space afterwards. Where 
> did I go wrong when following the ABNF rules or what am I 
> missing?

1*body means "one or more instances of body". The SP media-subtype matches 
things like ' "alternative"' and ' "related"' in your example.

Arnt

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.