The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Using Authentication with Open-uri

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Using Authentication with Open-uri Posted: Feb 12, 2005 11:21 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Using Authentication with Open-uri
Feed Title: RedHanded
Feed URL:
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded


Obviously big fans of open-uri around here. And development of open-uri has continued with the addition of HTTP Basic authentication, newly implemented in both HEAD and ruby_1_8 branches of CVS.

  open("http://...", :http_basic_authentication=>[user, password])

I should note that this was implemented at the behest of Kent Sibilev. So, hey, does anyone else have open-uri wishes? (And please don’t say HTTPS. Tanaka-san has a preliminary patch here and, believe me, that dog is running.)

Within hours, HTTPS support is checked in. Just like that. Faster than a beaver tale.

Read: Using Authentication with Open-uri

Topic: Rails and .Net in Perfect Harmony Previous Topic   Next Topic Topic: Refax the Automatic Refactoring Engine

Sponsored Links


Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use