Mercurial > hg > cmmr2012-drupal-site
comparison vendor/zendframework/zend-feed/src/Reader/Http/HeaderAwareResponseInterface.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 /** | |
3 * Zend Framework (http://framework.zend.com/) | |
4 * | |
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 | |
8 */ | |
9 | |
10 namespace Zend\Feed\Reader\Http; | |
11 | |
12 interface HeaderAwareResponseInterface extends ResponseInterface | |
13 { | |
14 /** | |
15 * Retrieve a header (as a single line) from the response. | |
16 * | |
17 * Header name lookups MUST be case insensitive. | |
18 * | |
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 | |
21 * an array of values. | |
22 * | |
23 * @param string $name Header name to retrieve. | |
24 * @param mixed $default Default value to use if header is not present. | |
25 * @return string | |
26 */ | |
27 public function getHeaderLine($name, $default = null); | |
28 } |