Added method returns the headers

Added method returns an associative array with headers or a specific title