# File lib/rack/utils.rb, line 309
309:       def to_hash
310:         inject({}) do |hash, (k,v)|
311:           if v.respond_to? :to_ary
312:             hash[k] = v.to_ary.join("\n")
313:           else
314:             hash[k] = v
315:           end
316:           hash
317:         end
318:       end