summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Client/HttpHeaders.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Client/HttpHeaders.php')
m---------vendor/fguillot/picofeed0
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Client/HttpHeaders.php43
2 files changed, 0 insertions, 43 deletions
diff --git a/vendor/fguillot/picofeed b/vendor/fguillot/picofeed
new file mode 160000
+Subproject 0a1d0d3950f7f047dc8fb1d80aa6296e15f306d
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Client/HttpHeaders.php b/vendor/fguillot/picofeed/lib/PicoFeed/Client/HttpHeaders.php
deleted file mode 100644
index 4453a7871..000000000
--- a/vendor/fguillot/picofeed/lib/PicoFeed/Client/HttpHeaders.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-namespace PicoFeed\Client;
-
-use ArrayAccess;
-
-/**
- * Class to handle http headers case insensitivity
- *
- * @author Bernhard Posselt
- * @package Client
- */
-class HttpHeaders implements ArrayAccess
-{
- private $headers = array();
-
- public function __construct(array $headers)
- {
- foreach ($headers as $key => $value) {
- $this->headers[strtolower($key)] = $value;
- }
- }
-
- public function offsetGet($offset)
- {
- return $this->headers[strtolower($offset)];
- }
-
- public function offsetSet($offset, $value)
- {
- $this->headers[strtolower($offset)] = $value;
- }
-
- public function offsetExists($offset)
- {
- return isset($this->headers[strtolower($offset)]);
- }
-
- public function offsetUnset($offset)
- {
- unset($this->headers[strtolower($offset)]);
- }
-}