Re: [imap5] Standardized error messages
Arnt Gulbrandsen <arnt@oryx.com> Tue, 21 October 2008 17:50 UTC
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 423103A6B80; Tue, 21 Oct 2008 10:50:23 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 61CDE3A6B52 for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 10:50:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.565
X-Spam-Level:
X-Spam-Status: No, score=-2.565 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NLSepaol1CwN for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 10:50:21 -0700 (PDT)
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by core3.amsl.com (Postfix) with ESMTP id 57D893A6A42 for <imap5@ietf.org>; Tue, 21 Oct 2008 10:50:21 -0700 (PDT)
Received: from kalyani.oryx.com (localhost.oryx.com [127.0.0.1]) by kalyani.oryx.com (Postfix) with ESMTP id 65ED04AC84; Tue, 21 Oct 2008 19:51:28 +0200 (CEST)
Received: from arnt@oryx.com (client address 195.30.37.40) (HELO lochnagar.oryx.com) by kalyani.oryx.com (Archiveopteryx 3.1.0) with esmtp id 1224611488-66249-7028 for imap5@ietf.org; Tue, 21 Oct 2008 19:51:28 +0200
Message-Id: <KeP0bRWAVPqBVVfRf0K+ng.md5@lochnagar.oryx.com>
Date: Tue, 21 Oct 2008 19:50:04 +0200
From: Arnt Gulbrandsen <arnt@oryx.com>
To: imap5@ietf.org
References: <48FDED75.9050703@one.com> <U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com> <48FE10EE.1030009@one.com> <9463C111-2B9E-455A-9AE9-5234C893B1D4@iki.fi>
In-Reply-To: <9463C111-2B9E-455A-9AE9-5234C893B1D4@iki.fi>
Mime-Version: 1.0
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>, <mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>, <mailto:imap5-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org
Timo Sirainen writes: > On Oct 21, 2008, at 8:27 PM, Peter Mogensen wrote: >>> and draft-gulbrandsen-imap-response-codes, and see what you think. >> >> Better... although I'm not sure it's a good idea to merge error- >> codes and status info (like UNSEEN,UIDNEXT...) into the same >> namespace. > > Hmm. Wonder if this causes problems. It does, but that problem is one we have already and it hasn't been THAT painful: REFERRAL RFC 2221 ALERT RFC 3501 BADCHARSET RFC 3501 PARSE RFC 3501 PERMANENTFLAGS RFC 3501 READ-ONLY RFC 3501 READ-WRITE RFC 3501 TRYCREATE RFC 3501 UIDNEXT RFC 3501 UIDVALIDITY RFC 3501 UNSEEN RFC 3501 UNKNOWN-CTE RFC 3516 UIDNOTSTICKY RFC 4315 APPENDUID RFC 4315 COPYUID RFC 4315 URLMECH RFC 4467 TOOBIG RFC 4469 BADURL RFC 4469 HIGHESTMODSEQ RFC 4551 NOMODSEQ RFC 4551 MODIFIED RFC 4551 COMPRESSIONACTIVE RFC 4978 CLOSED RFC 5162 BADCOMPARATOR RFC 5255 ANNOTATE TOOBIG RFC 5257 ANNOTATE TOOMANY RFC 5257 ANNOTATIONS RFC 5257 I've run into a case where I wanted to return two things (UIDNEXT and an error? can't remember). > For example [EXPUNGEISSUED] can't be returned for a STORE > UNCHANGEDSINCE that returns [CHANGEDSINCE]. > Perhaps there are other similar issues. But maybe they don't matter. I think they matter in principle, but generally you IMAP doesn't both return an error and do something at the same time. Arnt _______________________________________________ imap5 mailing list imap5@ietf.org https://www.ietf.org/mailman/listinfo/imap5
- [imap5] Standardized error messages Peter Mogensen
- Re: [imap5] Standardized error messages Arnt Gulbrandsen
- Re: [imap5] Standardized error messages Peter Mogensen
- Re: [imap5] Standardized error messages Timo Sirainen
- Re: [imap5] Standardized error messages Arnt Gulbrandsen
- Re: [imap5] Standardized error messages Mark Crispin
- Re: [imap5] Standardized error messages Peter Mogensen