[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more url-utils?
From: |
Ted Zlatanov |
Subject: |
Re: more url-utils? |
Date: |
Thu, 19 May 2011 07:43:09 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Thu, 19 May 2011 08:53:22 -0300 Stefan Monnier <address@hidden> wrote:
>> OK. But if the status is nil we couldn't get any data so there are no
>> URL properties. So we can have just one callback parameter "url-info"
>> which is nil if the request failed and an alist if it worked.
SM> I think that a boolean status is not sufficient. E.g. in case of
SM> failure, we want to have some information about why (e.g. an error
SM> message).
..but we don't want to throw an error. Hrm. How about "url-info" is
three possible types:
1) nil = failed, no information available (should happen only if there's
no handler for the URL's protocol)
2) atom (string or symbol) = failed, information is the string or the
symbol's properties
3) alist = success
Ted
- Re: more url-utils?, (continued)
- Re: more url-utils?, Ted Zlatanov, 2011/05/17
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- Re: more url-utils?, Ted Zlatanov, 2011/05/18
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- Re: more url-utils?, Ted Zlatanov, 2011/05/18
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- Re: more url-utils?, Ted Zlatanov, 2011/05/18
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- Re: more url-utils?, Ted Zlatanov, 2011/05/19
- Re: more url-utils?, Stefan Monnier, 2011/05/19
- Re: more url-utils?,
Ted Zlatanov <=
- Re: more url-utils?, Stefan Monnier, 2011/05/19
- Re: more url-utils?, Ted Zlatanov, 2011/05/19
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/30
- Re: more url-utils?, Stefan Monnier, 2011/05/30
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/30
- Re: more url-utils?, Stefan Monnier, 2011/05/30
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/30
- Re: more url-utils?, Stefan Monnier, 2011/05/30
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/31
- Re: more url-utils?, Stefan Monnier, 2011/05/31