Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
[http] Unify criteria for split name
Browse files Browse the repository at this point in the history
Add missing Etag from zendframework/zendframework#5302 c22ec11bf67f7d3f36edcd824ecdb26960c789d5
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Header/Etag.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static function fromString($headerLine)
{
$header = new static();

list($name, $value) = explode(': ', $headerLine, 2);
list($name, $value) = GenericHeader::splitHeaderLine($headerLine);

// check to ensure proper header type for this factory
if (strtolower($name) !== 'etag') {
Expand Down

0 comments on commit d7eb674

Please sign in to comment.