[sldev] Re: [VWR] Web login without llmozlib

Alissa Sabre alissa_sabre at yahoo.co.jp
Wed Dec 26 05:48:25 PST 2007


> > What's wrong with including the human readable message after the  
> > 307? That's what that part of the HTTP protocol is for.

No.  It's a bad idea because you can't translate it into user's
language.

Putting some ASCII string containing some English text after a
response code is part of the Internet protocol tradition, but it is
designed in 1970s when the net was designed only for US citizen.  You
can't assume everybody on the net understands English language anymore.

The message after the error code is not for users; it is for
developers and experienced administrators.

> That's fine too. How about both, so that the Reason can be used as the  
> machine readable version, and the body could contain additional  
> metadata such as a human readable version.

Yes.  This is fine, as long as the language used in the body reflects
the user's preferred language, e.g., through Accept-Language header
field in the HTTP request.
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/


More information about the SLDev mailing list