On Thu, Dec 18, 2008 at 09:06:20AM -0500, Nuno Job wrote:
> One of problems with the bundled shoes download (and possibly upload method)
> is the lack of authentication?

The `download` method takes an option called :headers where you can
pass in authentication.
<http://stackoverflow.com/questions/280024/using-shoes-download-to-do-basic-http-authentication>

> Also I think download works as download to file not memory.

You can do both. Look over the examples in the docs. Looks like I
really need to write more on this topic.
<http://help.shoooes.net/App.html#download>

> If you try twitter client I made and connect to a local lan it will crash
> because while trying to connect as the connections doesn't timeout right
> away. What should I do to prevent this behavior without using threads?

Report the bug! I'm serious: you don't want to use Ruby threads for
this and you don't want to use Net::HTTP. If you search the web for
Net::HTTP benchmarks, you'll get the picture.

See, the picture is a graph where the line just keeps going up and up!

_why

Reply via email to