lib/cfoundry/v2/base.rb in cfoundry-0.3.51 vs lib/cfoundry/v2/base.rb in cfoundry-0.3.52
- old
+ new
@@ -184,10 +184,10 @@
def log_line(io, data)
io.printf(
"[%s] %0.3fs %s %6s -> %d %s\n",
Time.now.strftime("%F %T"),
data[:time],
- data[:response][:headers][:x_vcap_request_id],
+ data[:response][:headers]["x-vcap-request-id"],
data[:request][:method].to_s.upcase,
data[:response][:code],
data[:request][:url])
end
end