imap4.IMAPServer sends bodystructure body size as string

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from biny <[email protected]>:

Made test_imap.SimpleClient to log the received lines and ran test

twisted.mail.test.test_imap.NewFetchTestCase.testFetchBodyStructure

The bodystructure line received is

'* 0 FETCH (BODYSTRUCTURE ("text" "plain" (("name" "thing") ("key" "value")) "this-is-the-content-id" "describing-the-content-goes-here!" "8BIT" "20" "4" NIL NIL NIL))'

See how the body size is quoted. Now look at http://tools.ietf.org/html/rfc3501#section-7.4.2 and notice that the examples there do not have quotes around the body size.


----------
Type     : defect
Component: mail
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3947
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.