help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Asynchronously downloading a file


From: Deniz Dogan
Subject: Re: Asynchronously downloading a file
Date: Fri, 2 Jul 2010 11:22:28 +0200

2010/7/2 Daniel Pittman <daniel@rimspace.net>:
> Qiang Guo <mcknight0219@gmail.com> writes:
>
>> Emacs adheres to single thread fervently, so it may be impossible to do this
>> within emacs.
>
> [snip]
>
> The second way is to use an external process to do the same; you can even
> invoke 'emacs --batch --eval' if you really want to. :)
>
>        Daniel
>
> The second way is kind of wasteful given that `open-network-stream' is
> actually entirely asynchronous and all.
>

I'm looking for something like that, but with some layer taking care
of the HTTP stuff for me. I am specifically looking for something
which lets me make a GET or POST request and easily extract the
response body. Error handling such as 404, 500, etc. would be nice as
well.

-- 
Deniz Dogan



reply via email to

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