[Python-bugs-list] [ python-Bugs-588711 ] imaplib: prefix-quoted strings

noreply@sourceforge.net noreply@sourceforge.net
Tue, 30 Jul 2002 12:07:21 -0700


Bugs item #588711, was opened at 2002-07-30 19:07
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=588711&group_id=5470

Category: Python Library
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Nobody/Anonymous (nobody)
Summary: imaplib: prefix-quoted strings

Initial Comment:
[From Debian BTS http://bugs.debian.org/150485]

From: John Goerzen <jgoerzen@quovix.com>
Subject: python2.2: imaplib: doesn't properly support
prefix-quoted strings

imaplib's fetch command is totally useless with many
servers.

They'll send the message body in this form:
{100}
Headers here, body here, (100 characters worth)

This is specified in RFC2060 secion 4.3.  imaplib's
fetch chokes on
"unexpected data" in the response.

imaplib should receive this prefix-quoted string
properly and return it in a
non-quoted fashion.

As it is, it is totally impossible to read messages
from most imap servers.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=588711&group_id=5470