Method: ChefDK::ServiceExceptionInspectors::HTTP#extended_error_info

Defined in:
lib/chef-dk/service_exception_inspectors/http.rb

#extended_error_infoObject



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/chef-dk/service_exception_inspectors/http.rb', line 34

def extended_error_info
  <<-END
--- REQUEST DATA ----
#{http_method} #{uri}
#{request_headers}
#{req_body}

--- RESPONSE DATA ---
#{code} #{response_message}
#{response_headers}

#{response_body}

END
end