Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 216.73.216.155
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby18 /
share /
ri /
1.8 /
system /
OpenURI /
Delete
Unzip
Name
Size
Permission
Date
Action
Buffer
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
HTTPError
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
Meta
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
OpenRead
[ DIR ]
drwxr-xr-x
2024-03-03 22:50
cdesc-OpenURI.yaml
2.12
KB
-rw-r--r--
2023-07-26 13:47
Save
Rename
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::VERB body: " OpenURI is an easy-to-use wrapper for net/http, net/https and net/ftp.\n" - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::VERB body: " It is possible to open http/https/ftp URL as usual like opening a file:\n\n open("http://www.ruby-lang.org/") {|f|\n f.each_line {|line| p line}\n }\n\n The opened file has several methods for meta information as follows since\n it is extended by OpenURI::Meta.\n\n open("http://www.ruby-lang.org/en") {|f|\n f.each_line {|line| p line}\n p f.base_uri # <URI::HTTP:0x40e6ef2 URL:http://www.ruby-lang.org/en/>\n p f.content_type # "text/html"\n p f.charset # "iso-8859-1"\n p f.content_encoding # []\n p f.last_modified # Thu Dec 05 02:45:02 UTC 2002\n }\n\n Additional header fields can be specified by an optional hash argument.\n\n open("http://www.ruby-lang.org/en/",\n "User-Agent" => "Ruby/#{RUBY_VERSION}",\n "From" => "foo@bar.invalid",\n "Referer" => "http://www.ruby-lang.org/") {|f|\n # ...\n }\n\n The environment variables such as http_proxy, https_proxy and ftp_proxy\n are in effect by default. :proxy => nil disables proxy.\n\n open("http://www.ruby-lang.org/en/raa.html", :proxy => nil) {|f|\n # ...\n }\n\n URI objects can be opened in a similar way.\n\n uri = URI.parse("http://www.ruby-lang.org/en/")\n uri.open {|f|\n # ...\n }\n\n URI objects can be read directly. The returned string is also extended by\n OpenURI::Meta.\n\n str = uri.read\n p str.base_uri\n\n Author:: Tanaka Akira <akr@m17n.org>\n" constants: - !ruby/object:RI::Constant comment: name: Options value: "{ :proxy => true, :progress_proc => true, :content_length_proc => true, :http_basic_authentication => true, }" full_name: OpenURI includes: [] instance_methods: [] name: OpenURI superclass: