3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Feed\Reader\Http;
12 interface HeaderAwareResponseInterface extends ResponseInterface
15 * Retrieve a header (as a single line) from the response.
17 * Header name lookups MUST be case insensitive.
19 * Since the only header values the feed reader consumes are singular
20 * in nature, this method is expected to return a string, and not
23 * @param string $name Header name to retrieve.
24 * @param mixed $default Default value to use if header is not present.
27 public function getHeaderLine($name, $default = null);