Method: HTTP::Message#contenttype
- Defined in:
- lib/httpclient/http.rb
#contenttype ⇒ Object
Sets ‘Content-Type’ header value. Overrides if already exists.
906 907 908 |
# File 'lib/httpclient/http.rb', line 906 def contenttype @header.contenttype end |