summaryrefslogtreecommitdiff
path: root/lib/open-uri.rb
AgeCommit message (Collapse)Author
2007-09-24 * lib/net/http.rb: an SSL verification (the server hostname shouldshyouhei
be matched with its certificate's commonName) is added. this verification can be skipped by "Net::HTTP#enable_post_connection_check=(false)". suggested by Chris Clark <cclark at isecpartners.com> * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to perform SSL post connection check. * ext/openssl/lib/openssl/ssl.c (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04Merge RDoc changes from HEAD.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-07* lib/open-uri.rb: abolish mod === tempfile to avoid a problemakr
[ruby-dev:26967]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-01* lib/open-uri.rb (OpenURI.open_http): refine post_connection_checkakr
call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25* lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content ofakr
quoted-string should be zero or more characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19* lib/open-uri.rb (URI::FTP#buffer_open): access mechanismakr
re-implemented according to RFC 1738. reported by Guillaume Marcais. [ruby-talk:131650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19* lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_checkakr
after connection is made. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12* lib/open-uri.rb (OpenURI.open_loop): send authentication only forakr
the URI directly specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12document updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12* lib/open-uri.rb: support https if the platform provides CAakr
certificates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-11* lib/open-uri.rb (URI::HTTP#proxy_open): new option supported:akr
:http_basic_authentication. suggested by Kent Sibilev. [ruby-core:4392] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08document updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05comment refined.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-09lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to notice https ↵akr
is not supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21* lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12enable document for Kernel.open.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04comments modified.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27* (lib/open-uri.rb): permit extra semicolon in content-type field.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01* lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopbackakr
address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31* lib/open-uri.rb (OpenURI::Buffer#<<): make a tempfile binmode.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.akr
raise an errror on non-http proxy URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-25fix previous change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-25* lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity testakr
refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-25* lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGIakr
if the environment variable is case sensitive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-24* lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): useakr
catch/throw for redirection instead of exception. (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-24* lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXYakr
instead of HTTP_PROXY in the CGI environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-24* lib/open-uri.rb: validate option names.akr
:content_length_proc and :progress_proc option implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15* lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):akr
refactored to support options. (Buffer): maintain size by this class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13inconsistency of the arguments for respond_to? in previous change is fixed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.akr
[ruby-ext:02251] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.akr
reported by Take_tk <ggb03124@nifty.ne.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-05* lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not work.nahi
[ruby-dev:21484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-15* lib/open-uri.rb (OpenURI::Redirect#initialize): call super toakr
initialize mesg. * lib/open-uri.rb (OpenURI::Meta#charset): call block to guess charset if block is given and charset is not given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-26* lib/open-uri.rb: replace Kernel.open as well.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-05* lib/open-uri.rb: dispatch code restructured to make it openableakr
that has `open' method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-02-05* lib/open-uri.rb: Location: field may has a relative URI.akr
pointed out by erik eriksson <ee@opera.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-18Add a missing ||.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16* lib/open-uri.rb: new file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e