1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Add a body for the request portion for the instrumentor.

This commit is contained in:
Rupak Ganguly 2013-08-30 11:20:32 -04:00
parent 9a60c66949
commit e8655634e4

View file

@ -30,6 +30,7 @@ module Excon
$stderr.puts("Host: #{params[:host]} Port: #{params[:port]}")
$stderr.puts("Accept: #{params[:headers]['Accept']}")
$stderr.puts("X-Auth-Token: #{params[:headers]['X-Auth-Token']}")
$stderr.puts("Body: #{params[:body]}")
elsif name.include?('.response')
$stderr.puts("HTTP/1.1 #{params[:status]}")
$stderr.puts("Content-Length: #{params[:headers]['Content-Length']}")