Class
Class for representing HTTP 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
Properties:
-
Request body: no.
-
Response body: yes.
-
Safe: yes.
-
Idempotent: yes.
-
Cacheable: no.
Related:
-
Net::HTTP#trace
: sendsTRACE
request, returns response object.
Constants
No documentation available
No documentation available
No documentation available