~singpolyma/dhall-ruby

60d14170544c3bd8fa190fbce1f7447650a61dd7 — Stephen Paul Weber 3 years ago 30af262
Headers is probably a Dhall::List

But we map it to strings... just use `to_a` since we're not staing in
Dhall-land anyway.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/dhall/resolve.rb
M lib/dhall/resolve.rb => lib/dhall/resolve.rb +1 -1
@@ 38,7 38,7 @@ module Dhall
				req["Origin"] = parent_origin
				req["Access-Control-Request-Method"] = "GET"
				req["Access-Control-Request-Headers"] =
					source.headers.map { |h| h.fetch("header").to_s }.join(",")
					source.headers.to_a.map { |h| h.fetch("header").to_s }.join(",")
				r = Net::HTTP.start(
					uri.hostname,
					uri.port,