summaryrefslogtreecommitdiff
path: root/lib/open-uri.rb
AgeCommit message (Collapse)Author
2005-09-15* lib/open-uri.rb: add :read_timeout option.akr
[ruby-core:4848] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9166 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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@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/trunk@7952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12document updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12* lib/open-uri.rb (OpenURI.open_http): reject userinfo explicitly.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7948 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/trunk@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/trunk@7944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08document updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05comment refined.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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/trunk@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/trunk@6191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12enable document for Kernel.open.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04comments modified.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29* exception message clean-up by Ian Macdonald <ian@caliban.org>.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 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/trunk@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/trunk@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/trunk@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/trunk@5595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@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