Method: HTTP::Message#content_type=

Defined in:
lib/httpclient/http.rb

#content_type=(content_type) ⇒ Object Also known as: contenttype=

Sets ‘Content-Type’ header value. Overrides if already exists.



1027
1028
1029
# File 'lib/httpclient/http.rb', line 1027

def content_type=(content_type)
  @http_header.content_type = content_type
end