Class: WEBrick::Cookie
Instance Attribute Summary collapse
-
#httponly ⇒ Object
Returns the value of attribute httponly.
Class Method Summary collapse
Instance Attribute Details
#httponly ⇒ Object
Returns the value of attribute httponly.
19 20 21 |
# File 'lib/arachni/ruby/webrick.rb', line 19 def httponly @httponly end |
Class Method Details
.old_parse_set_cookie ⇒ Object
22 |
# File 'lib/arachni/ruby/webrick.rb', line 22 alias :old_parse_set_cookie :parse_set_cookie |
.parse_set_cookie(str) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/arachni/ruby/webrick.rb', line 25 def self.( str ) = ( str ) .httponly = str.split( ';' ).map { |f| f.downcase.strip }. include?( 'httponly' ) end |