Method: Spidr::Page#content_type

Defined in:
lib/spidr/page/content_types.rb

#content_typeString

The Content-Type of the page.

Returns:

  • The Content-Type of the page.



11
12
13
# File 'lib/spidr/page/content_types.rb', line 11

def content_type
  @response['Content-Type'] || ''
end