module Typhoeus::Responses::Informations
def header
-
(Header)
- The response header.
Other tags:
- Example: Return header. -
def header return nil unless response_header @header ||= Responses::Header.new(response_header.split("\r\n\r\n").last) end
def redirections
-
(Array)
- The redirections
Other tags:
- Example: Return redirections. -
def redirections return [] unless response_header response_header.split("\r\n\r\n")[0..-2].map{ |h| Response.new(:response_header => h) } end