Method: OData4::Service::Response#content_type
- Defined in:
- lib/odata4/service/response.rb
#content_type ⇒ Object
Returns the content type of the resonse.
41 42 43 |
# File 'lib/odata4/service/response.rb', line 41 def content_type response.headers['Content-Type'] || '' end |