Permalink
Browse files

Not stripping quotes from getEtag(). This prevents errors when gettin…

…g Etags that contain things like W/"xyzzy"
  • Loading branch information...
1 parent e21d86f commit b8d1e530067c6f26a40887aa703da95688a93eb5 @mtdowling mtdowling committed Feb 27, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 Message/Response.php
View
@@ -555,9 +555,7 @@ public function getDate()
*/
public function getEtag()
{
- $etag = $this->getHeader('ETag', true);
-
- return $etag ? str_replace('"', '', $etag) : null;
+ return $this->getHeader('ETag', true);
}
/**

0 comments on commit b8d1e53

Please sign in to comment.