[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more url-utils?

From: Stefan Monnier
Subject: Re: more url-utils?
Date: Thu, 19 May 2011 08:53:22 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 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.

I think that a boolean status is not sufficient.  E.g. in case of
failure, we want to have some information about why (e.g. an error message).

> How would the callback find out what actually failed?  Does it even need
> to?  I think it's enough to know the request failed, the user can look
> in *Messages* to find out.

I don't think that's good enough.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]