Graham Klyne | 6 Apr 17:42

Is Accept-language an email header field?


Following its definition in RFC 3282, should the Accept-language header 
field be considered to be an email header field, in the sense of being a 
recognized extension of RFC 2822.  (If so, what does it mean in the context 
of an RFC2822  mail message?)

#g

------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact

Keith Moore | 6 Apr 18:27
Picon

Re: Is Accept-language an email header field?


I don't think it makes sense to use the accept-language field, as it's 
currently defined, with email.   partially this is because there's no clear 
indication as to whose preferences are being described, and partially because 
a reply to a message (the most likely use of accept-language) might go to the 
author, the reply-to field, some subset of to and cc recipients, etc..

more generally, I don't think it makes sense to try to add descriptive
information about an address in a header field by using other fields 
that don't explicitly reference that address.  (note that these addresses
are sometimes changed in transit while leaving the other fields intact)

Keith

> Following its definition in RFC 3282, should the Accept-language header 
> field be considered to be an email header field, in the sense of being a 
> recognized extension of RFC 2822.  (If so, what does it mean in the context 
> of an RFC2822  mail message?)

--
Power corrupts; Powerpoint corrupts absolutely. 	- Vint Cerf

ned+ietf-822 | 6 Apr 18:49

Re: Is Accept-language an email header field?


> I don't think it makes sense to use the accept-language field, as it's
> currently defined, with email.   partially this is because there's no clear
> indication as to whose preferences are being described, and partially because
> a reply to a message (the most likely use of accept-language) might go to the
> author, the reply-to field, some subset of to and cc recipients, etc..

> more generally, I don't think it makes sense to try to add descriptive
> information about an address in a header field by using other fields
> that don't explicitly reference that address.  (note that these addresses
> are sometimes changed in transit while leaving the other fields intact)

Let me start by pointing out that the accept-language is currently in fairly
widespread use in email. A number of very popular clients generate these
headers and a fair number of automatic response agents honor them. Strong
customer demand led us to support them in the autoresponses our product
generates a few years ago, which means I have a fair amount of experience  with
them and the problems they do and do not have.

As you might expect, I have observed a number of operational problems with
this header:

(1) Far and away the most common problem has been the absence of a single,
    recommended field being defined for this purpose. As is so often the
    case, this has led to a number of different fields being used, some
    supported by some agents and others not. The fields I've observed
    operationally are: X-Accept-language, Accept-Language and
    Preferred-Language. I've observed X-Accept-Language to be the
    most popular, but that's from a small and probably unrepresentative
    sample.
(Continue reading)

Graham Klyne | 6 Apr 22:03

Re: Is Accept-language an email header field?


At 09:49 06/04/04 -0700, ned.freed <at> mrochek.com wrote:
>Let me start by pointing out that the accept-language is currently in fairly
>widespread use in email. A number of very popular clients generate these
>headers and a fair number of automatic response agents honor them. Strong
>customer demand led us to support them in the autoresponses our product
>generates a few years ago, which means I have a fair amount of 
>experience  with
>them and the problems they do and do not have.

Notwithstanding the operational problems you mention, this suggests to me 
that Accept-language should be included in the initial (permanent) registry 
of email message headers, possibly carrying a warning about the operational 
issues you note?

#g

------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact

ned+ietf-822 | 6 Apr 23:46

Re: Is Accept-language an email header field?


> > Let me start by pointing out that the accept-language is currently in fairly
> > widespread use in email. A number of very popular clients generate these
> > headers and a fair number of automatic response agents honor them. Strong
> > customer demand led us to support them in the autoresponses our product
> > generates a few years ago, which means I have a fair amount of
> > experience  with
> > them and the problems they do and do not have.

> Notwithstanding the operational problems you mention, this suggests to me
> that Accept-language should be included in the initial (permanent) registry
> of email message headers, possibly carrying a warning about the operational
> issues you note?

To the extent that having a single, standardized header for this would create a
trend towards using a single field name and would prevent additional field
names from being used for this purpose, I support having this in the registry.

OTOH, I have more important things to do than engage in a protracted wrangle
about how this field binds to addresses or anything similar. The market appears
to have decided on a "good enough" solution to this problem; the IETF can
either back this solution with a particular field name or not. It isn't going
to be able to effect more change than that.

				Ned

Charles Lindsey | 7 Apr 11:40
Picon
Picon

Re: Is Accept-language an email header field?


In <5.1.0.14.2.20040406210213.02e82d98 <at> 127.0.0.1> Graham Klyne <gk <at> ninebynine.org> writes:

>Notwithstanding the operational problems you mention, this suggests to me 
>that Accept-language should be included in the initial (permanent) registry 
>of email message headers, possibly carrying a warning about the operational 
>issues you note?

This raises a more general problem regarding headers that migrate from one
medium to another.

AIUI, Accept-Language is already an official HTTP header. Therefore it
will appear in the registry already, which itself should act as a strong
hint that it is the preferred header-name for a similar feature in other
media.

But if you want to go further and list it under those other media, then
you are required to refer to a defining document, and in such a case the
defining document will say nothing about those other media. So is that
allowed? I think the answer has to be that you go through the mechanism
defined in Graham's RFC-to-be which is to ask the IESG (via their
"designated expert"), following discussion in the "desginated email
discussion list". Well, none of that machinery is set up yet, so I suppose
discussing it on this list is the next best thing (BTW, could this list be
designated for that purpose? I doubt the suggested somelist <at> iana.org will
receive many subscriptions.)

A similar problem arises with the User-Agent header. Currently, this is
defined for use in HTTP, but is quite widely used in email and news. In
this case, the USEFOR WG has taken it on board and is defining it as an
(Continue reading)

Graham Klyne | 7 Apr 12:53

Re: Is Accept-language an email header field?


Re:  Accept-language in permanent email header field registry?

Personally, I'm neutral about its inclusion.  So far I have a very small 
sample of opinions that are 2:1 in favour of inclusion, but clearly there 
are some concerns.  To the extent that the registry is intended to document 
actual behaviour, not define new behaviour, I suggest inclusion as 
"informational" with a comment along the following lines:

[[
Indicates a language that the message sender requests be used for responses.

This header field [[[Accept-language]]] is commonly used in email, but some 
problems have been noted, including but not limited to:  determination of 
the email address to which it refers;  use of different field names names 
by some mail agents for the same purpose;  lack of consistent recognition 
and use by receiving agents;  cost and lack of effective 
internationalization of email responses;  problems with interpretation of 
language subtags;  problems determining what character set encoding should 
be used (UTF-8 is not universally supported).
]]

But if it proves difficult to quickly find an acceptable form of words to 
accompany its inclusion, I propose to withdraw it from an *initial* set of 
header field registrations, so as to not hold up the inclusion of standard 
header fields for which there should be no dissent.

#g
--

(Continue reading)

Keith Moore | 7 Apr 13:43
Picon

Re: Is Accept-language an email header field?


Mumble.  I've always been opposed to the idea of a registry that would 
endorse the decisions that the market makes, because while the market 
might serve as a rough indication of what features are needed, the market
sucks at protocol design.  And yet I do to some degree accept the argument
that once the market has chosen a particular feature, it's very difficult to
get the market to  adopt something that is significantly different.
Another way of saying this is that if we fail to produce a good design 
sufficiently early, the market will produce a bad design in our place.

Still, I'd rather have a published statement that says 

"Accept-language wasn't designed for email, but has been found to be useful 
as input into the generation of automatic replies.  It should apply to the 
SMTP MAIL FROM or Return-Path address rather than some other address." 

than a published statement that, by failing to specify usage, encourages 
even more variant use than we're currently seeing.  Because even if we 
claim that the registry is just documenting current practice, it's going
to be cited as an authority for desirable practice.

Keith

> Personally, I'm neutral about its inclusion.  So far I have a very small 
> sample of opinions that are 2:1 in favour of inclusion, but clearly there 
> are some concerns.  To the extent that the registry is intended to document 
> actual behaviour, not define new behaviour, I suggest inclusion as 
> "informational" with a comment along the following lines:
> 
> [[
(Continue reading)

Keith Moore | 7 Apr 13:50
Picon

Re: Is Accept-language an email header field?


> AIUI, Accept-Language is already an official HTTP header. Therefore it
> will appear in the registry already, which itself should act as a strong
> hint that it is the preferred header-name for a similar feature in other
> media.

Why can't people understand that HTTP and email are different protocols
that serve very different purposes and operate very differently?

It is NOT desirable to encourage people to assume that it's okay to 
adopt fields from one protocol to another.  Even if the fields keep the
same syntax, they end up having different uses and different meanings,
ambiguities can be introduced, etc. 

--

-- 
Regime Change 2004 - better late than never. 

Graham Klyne | 7 Apr 14:49

Re: Is Accept-language an email header field?


At 09:40 07/04/04 +0000, Charles Lindsey wrote:
>This raises a more general problem regarding headers that migrate from one
>medium to another.

I see no great difficulty here.  Header fields can be listed under multiple 
protocols so that these subtleties can be captured faithfully.  The 
registration document also notes that an entry may refer to multiple 
specifications in cases like this:

[[
    In some cases, the same field name may be specified differently (by
    different documents) for use with different application protocols;
    e.g.  The Date: header field used with HTTP has a different syntax
    than the Date: used with Internet mail. In other cases, a field name
    may have a common specification across multiple protocols (ignoring
    protocol-specific lexical and character set conventions);  e.g. this
    is generally the case for MIME header fields with names of the form
    'Content-*'.

    Thus, we need to accommodate application-specific fields, while
    wishing to recognize and promote (where appropriate) commonality of
    other fields across multiple applications. Common repositories are
    used for all applications, and each registered header field specifies
    the application protocol for which the corresponding definition
    applies.  A given field name may have multiple registry entries for
    different protocols; in the Permanent Message Header Field registry,
    a given header field name may be registered only once for any given
    protocol. (In some cases, the registration may reference several
    defining documents.)
(Continue reading)


Gmane