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
See Request Headers.
Properties:
Request body: no.
Response body: yes.
Safe: yes.
Idempotent: yes.
Cacheable: no.
Related:
Net::HTTP#trace
: sends TRACE
request, returns response object.
Tokens where state should be ignored used for :on_comment, :on_heredoc_end, :on_embexpr_end
An error class raised when dynamic parts are found while computing a constant path’s full name. For example: Foo::Bar::Baz -> does not raise because all parts of the constant path are simple constants var::Bar::Baz -> raises because the first part of the constant path is a local variable
An error class raised when missing nodes are found while computing a constant path’s full name. For example:
-> raises because the constant path is missing the last part
A node list field represents a list of child nodes in the syntax tree. It resolves to an array of Prism::Node
instances in Ruby.
A constant field represents a constant value on a node. Effectively, it represents an identifier found within the source. It resolves to a symbol in Ruby.
An optional constant field represents a constant value on a node that may or may not be present. It resolves to either a symbol or nil in Ruby.
An entry in a repository that will lazily reify its values when they are first accessed.
A field representing the trailing comments.
Searches for gems starting with the supplied argument.
Raised when a tar file is corrupt
Allows writing of tar files
A FetchError
that indicates that the reason for not being able to fetch data was that the host could not be contacted
Specifies a Specification object that should be activated. Also contains a dependency that was used to introduce this activation.
The BestSet
chooses the best available method to query a remote index.
It combines IndexSet and APISet