General

Profile

coderrr (coderrr .)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

11/26/2010

07:38 PM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
Yui,

I should point out that the RFC actually does provide an "out" for allowing a password in the userinfo in section 7.5: "A password appearing within the userinfo component is deprecated and should be considered an error ...
coderrr (coderrr .)

11/25/2010

10:54 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
That's interesting but IMHO it's not Ruby's job/goal to comply as closely as possible with RFCs, but to provide programmers with the best possible experience.
=end
coderrr (coderrr .)
02:19 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
sorry, just one more thing...

Net::HTTP.post_form currently acts exactly like my patch, using the user/pass from the URI and is documented as such in the Net::HTTP rdoc.
=end
coderrr (coderrr .)

11/24/2010

02:31 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
ok cool, I accept your decision :) .. thanks for your time
=end
coderrr (coderrr .)
12:16 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
It seems to me you're being very pedantic on the deprecation issue. The only way I see the deprecation's sentiment applying to Ruby is in the sense that if Ruby supports this, then it will be a small incentive for people to cont...
coderrr (coderrr .)

11/21/2010

03:30 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
Thanks for showing me that open-uri version, I didn't know that previously. I do think that it is not as concise as the example in my ticket though.

Here's the deprecation paragraph.

Use of the format "user:password...
coderrr (coderrr .)

11/20/2010

09:41 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
just to clarify... the current way you would have to do this is:

Net::HTTP.start('whatever.com') {|h| g = Net::HTTP::Get.new('/asdf'); g.basic_auth('user', 'pass'); h.request(g).body }
=end
coderrr (coderrr .)
06:51 AM Ruby Feature #4071: support basic auth for Net::HTTP.get requests
=begin
Yui, please clarify and point me to the deprecation you are referring to.
=end
coderrr (coderrr .)

11/19/2010

03:53 PM Ruby Feature #4071 (Closed): support basic auth for Net::HTTP.get requests
=begin
support basic auth for Net::HTTP.get(URI.parse("http://user:pass@whatever.com/asdf"))
=end
coderrr (coderrr .)

04/16/2009

01:10 AM Ruby Bug #1322: define_method scope bug
=begin
Any reason there have been no responses to this?
=end
coderrr (coderrr .)

Also available in: Atom