I just downloaded 0.r1091 ... and download() now causes a crash... on
OSX (10.5.5, Intel)
(I think this was reported by someone else earlier).
this is my code:
button "Login(Download())" do
@status.text = "One moment..."
headers = {}
headers['Authorization'] = 'Basic ' +
Base64.encode64("[EMAIL PROTECTED]:[EMAIL PROTECTED]").chop
download("http://#{$SITE_URL}/ambisonic_files/new.xml",
{:method => "GET", :headers => headers}) do |result|
@status.text = "The result is #{result.response.body}
... \n and the Headers: " + result.response.headers.inspect
end
end
Etienne
On Fri, Nov 14, 2008 at 7:37 AM, _why <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 13, 2008 at 07:55:01PM +1100, e deleflie wrote:
>> thanks for seeing this ... unfortunately, I had it right in my code.
>> But I removed the parenthesis as you suggest. Still doesn't work. Here
>> is the exact code:
>
> Okay, glad you reported this. I have done some footwork and chased
> down the problem. Custom headers, methods, body hadn't been finished
> on Cocoa. This will go out today with the final build of Raisins.
>
> _why
>