aboutsummaryrefslogtreecommitdiffstats
path: root/lib/open-uri.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* enable document for Kernel.open.akr2004-04-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comments modified.akr2004-04-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * exception message clean-up by Ian Macdonald <ian@caliban.org>.matz2004-03-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * (lib/open-uri.rb): permit extra semicolon in content-type field.akr2004-03-271-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopbackakr2004-02-011-0/+9
| | | | | | | address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Buffer#<<): make a tempfile binmode.akr2004-01-311-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.akr2004-01-311-0/+9
| | | | | | | 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
* fix typos.akr2004-01-071-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2003-11-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity testakr2003-11-251-3/+13
| | | | | | | refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGIakr2003-11-251-7/+26
| | | | | | | if the environment variable is case sensitive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): useakr2003-11-241-23/+31
| | | | | | | | 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
* * lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXYakr2003-11-241-2/+10
| | | | | | | 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
* * lib/open-uri.rb: validate option names.akr2003-11-241-8/+122
| | | | | | | :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
* * lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):akr2003-11-151-17/+19
| | | | | | | | 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
* inconsistency of the arguments for respond_to? in previous change is fixed.akr2003-11-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.akr2003-11-131-8/+19
| | | | | | | [ruby-ext:02251] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.akr2003-11-131-1/+1
| | | | | | | 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
* * lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not work.nahi2003-10-051-1/+1
| | | | | | | [ruby-dev:21484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Redirect#initialize): call super toakr2003-05-151-0/+11
| | | | | | | | | | 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
* * lib/open-uri.rb: replace Kernel.open as well.akr2003-02-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: dispatch code restructured to make it openableakr2003-02-051-45/+39
| | | | | | | that has `open' method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: Location: field may has a relative URI.akr2003-02-051-1/+7
| | | | | | | 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
* Add a missing ||.knu2002-12-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: new file.akr2002-12-161-0/+390
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e