[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Translation of http status code to text
From: |
Ted Zlatanov |
Subject: |
Re: Translation of http status code to text |
Date: |
Mon, 22 Mar 2010 08:17:29 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) |
On Mon, 22 Mar 2010 03:19:32 +0200 Juri Linkov <address@hidden> wrote:
>> Is there a list in Emacs for translating http status code to readable
>> text (like http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)?
>>
>> If not could we please add one that can be used from different elisp
>> files that needs this?
JL> I suppose this should be in lisp/url/url-http.el.
The codes are used (and listed in the comments) in
url-http-parse-headers. Would it be OK to just make an alist with
symbols and text, e.g.
(setq url-http-codes '((206 (url-http-code-partial-content "Partial content"))))
...
(assq 206 url-http-codes)
or is there anything else needed?
Ted
- Translation of http status code to text, Lennart Borgman, 2010/03/18
- Re: Translation of http status code to text, Juri Linkov, 2010/03/21
- Re: Translation of http status code to text,
Ted Zlatanov <=
- Re: Translation of http status code to text, Stefan Monnier, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Sven Joachim, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Sven Joachim, 2010/03/22
- Re: Translation of http status code to text, Ted Zlatanov, 2010/03/22
- Re: Translation of http status code to text, Juri Linkov, 2010/03/23
- Re: Translation of http status code to text, Lennart Borgman, 2010/03/23
- face for non-ASCII characters (was: Translation of http status code to text), Ted Zlatanov, 2010/03/23