!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/rdoc/Rack/Utils/   drwxr-xr-x
Free 289.41 GB of 429.69 GB (67.35%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HeaderHash.html (31.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Class: Rack::Utils::HeaderHash

Files

Class/Module Index [+]

Quicksearch

Rack::Utils::HeaderHash

A case-insensitive Hash that preserves the original case of a header when set.

Public Class Methods

new(hash={}) click to toggle source
# File lib/rack/utils.rb, line 477
def self.new(hash={})
  HeaderHash === hash ? hash : super(hash)
end
new(hash={}) click to toggle source
# File lib/rack/utils.rb, line 481
def initialize(hash={})
  super()
  @names = {}
  hash.each { |k, v| self[k] = v }
end

Public Instance Methods

[](k) click to toggle source
# File lib/rack/utils.rb, line 499
def [](k)
  super(k) || super(@names[k.downcase])
end
[]=(k, v) click to toggle source
# File lib/rack/utils.rb, line 503
def []=(k, v)
  canonical = k.downcase
  delete k if @names[canonical] && @names[canonical] != k # .delete is expensive, don't invoke it unless necessary
  @names[k] = @names[canonical] = k
  super k, v
end
delete(k) click to toggle source
# File lib/rack/utils.rb, line 510
def delete(k)
  canonical = k.downcase
  result = super @names.delete(canonical)
  @names.delete_if { |name,| name.downcase == canonical }
  result
end
each() click to toggle source
# File lib/rack/utils.rb, line 487
def each
  super do |k, v|
    yield(k, v.respond_to?(:to_ary) ? v.to_ary.join("\n") : v)
  end
end
has_key?(k) click to toggle source
Alias for: include?
include?(k) click to toggle source
# File lib/rack/utils.rb, line 517
def include?(k)
  @names.include?(k) || @names.include?(k.downcase)
end
Also aliased as: has_key?, member?, key?
key?(k) click to toggle source
Alias for: include?
member?(k) click to toggle source
Alias for: include?
merge(other) click to toggle source
# File lib/rack/utils.rb, line 530
def merge(other)
  hash = dup
  hash.merge! other
end
merge!(other) click to toggle source
# File lib/rack/utils.rb, line 525
def merge!(other)
  other.each { |k, v| self[k] = v }
  self
end
replace(other) click to toggle source
# File lib/rack/utils.rb, line 535
def replace(other)
  clear
  other.each { |k, v| self[k] = v }
  self
end
to_hash() click to toggle source
# File lib/rack/utils.rb, line 493
def to_hash
  hash = {}
  each { |k,v| hash[k] = v }
  hash
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0989 ]--