# File lib/cgikit.rb, line 1233 def run @attr_action = fetch( 'action' ) # String @attr_enctype = fetch( 'enctype' ) # String @attr_href = fetch( 'href' ) # String @attr_target = fetch( 'target' ) # String if ( application.baseurl == nil ) and ( @attr_href == nil ) @attr_href = application.request.script_name end if @attr_enctype == nil then @attr_enctype = 'POST' end unless ( @attr_enctype.upcase == 'POST' ) or \ ( @attr_enctype.upcase == 'GET' ) or \ ( @attr_enctype.upcase == 'HEAD' ) @attr_enctype = 'POST' end if application.attributes_check check_undefined_attributes( 'action', 'method', 'enctype', \ 'href', 'target' ) end end