Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…g Etags that contain things like W/"xyzzy"
  • Loading branch information...
commit b8d1e530067c6f26a40887aa703da95688a93eb5 1 parent e21d86f
Michael Dowling mtdowling authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 Message/Response.php
4 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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.