class Net::HTTP::Trace
Class for representingHTTP method TRACE:
require'net/http'uri =URI('http://example.com')hostname =uri.hostname# => "example.com"req =Net::HTTP::Trace.new(uri)# => #<Net::HTTP::Trace TRACE>res =Net::HTTP.start(hostname)do|http|http.request(req)end
SeeRequest Headers.
Properties:
Request body: no.
Response body: yes.
Safe: yes.
Idempotent: yes.
Cacheable: no.
Related:
Net::HTTP#trace: sendsTRACErequest, returns response object.