# File lib/puppet/indirector/request.rb, line 137
137:   def to_hash
138:     result = options.dup
139: 
140:     OPTION_ATTRIBUTES.each do |attribute|
141:       if value = send(attribute)
142:         result[attribute] = value
143:       end
144:     end
145:     result
146:   end