# File lib/puppet/indirector/request.rb, line 130
130:     def to_hash
131:         result = options.dup
132: 
133:         OPTION_ATTRIBUTES.each do |attribute|
134:             if value = send(attribute)
135:                 result[attribute] = value
136:             end
137:         end
138:         result
139:     end