Method: HTTP::Requestor#trace
- Defined in:
- lib/http_requestor.rb
#trace(path, data = {}, headers = nil) ⇒ Object
103 104 105 106 107 108 109 110 111 |
# File 'lib/http_requestor.rb', line 103 def trace(path,data={},headers=nil) data_to_query(data) if headers == nil response = @http.send_request('TRACE', path, @defaults[:data]) else response = @http.send_request('TRACE', path, @defaults[:data], headers) end response end |