Sets the encoding to be used for the response body; returns the encoding.
The given value
may be:
An Encoding
object.
The name of an encoding.
An alias for an encoding name.
See Encoding
.
Examples:
http = Net::HTTP.new(hostname) http.response_body_encoding = Encoding::US_ASCII # => #<Encoding:US-ASCII> http.response_body_encoding = 'US-ASCII' # => "US-ASCII" http.response_body_encoding = 'ASCII' # => "ASCII"
Compile a MissingNode
node
Dispatch enter and leave events for MissingNode
nodes and continue walking the tree.
def forced_utf8_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
def forced_utf8_encoding?: () -> bool
The content of the line where this location starts before this location.