Class: Weary::Response
- Inherits:
-
Object
- Object
- Weary::Response
- Defined in:
- lib/em-net-http/weary.rb
Instance Method Summary collapse
-
#content_type ⇒ Object
Weary doesn’t like Content-Type headers with extra bits on the end, like ‘; encoding=utf-8’.
- #value ⇒ Object
Instance Method Details
#content_type ⇒ Object
Weary doesn’t like Content-Type headers with extra bits on the end, like ‘; encoding=utf-8’.
4 |
# File 'lib/em-net-http/weary.rb', line 4 def content_type ; @content_type.split(';').first ; end |
#value ⇒ Object
6 |
# File 'lib/em-net-http/weary.rb', line 6 def value ; self ; end |