Sha256: 077279d0a3c0bb1d83892deae54e2c10599e4c433a736f3bb104b06fca98051f
Contents?: true
Size: 654 Bytes
Versions: 6
Compression:
Stored size: 654 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end class WEBrick::Cookie attr_accessor :httponly class << self alias :old_parse_set_cookie :parse_set_cookie end def self.parse_set_cookie( str ) cookie = old_parse_set_cookie( str ) cookie.httponly = str.split( ';' ).map { |f| f.downcase.strip }. include?( 'httponly' ) cookie end end
Version data entries
6 entries across 6 versions & 1 rubygems