src/POData/BaseService.php 1 location
|
@@ 797-803 (lines=7) @@
|
794 |
|
$comma = ','; |
795 |
|
} |
796 |
|
|
797 |
|
if (!is_null($eTag)) { |
798 |
|
// If eTag is made up of datetime or string properties then the above |
799 |
|
// IType::convertToOData will perform utf8 and url encode. But we don't |
800 |
|
// want this for eTag value. |
801 |
|
$eTag = urldecode(utf8_decode($eTag)); |
802 |
|
return rtrim($eTag, ','); |
803 |
|
} |
804 |
|
|
805 |
|
return null; |
806 |
|
} |
src/POData/ObjectModel/ObjectModelSerializerBase.php 1 location
|
@@ 233-239 (lines=7) @@
|
230 |
|
$comma = ','; |
231 |
|
} |
232 |
|
|
233 |
|
if (!is_null($eTag)) { |
234 |
|
// If eTag is made up of datetime or string properties then the above |
235 |
|
// IType::converToOData will perform utf8 and url encode. But we don't |
236 |
|
// want this for eTag value. |
237 |
|
$eTag = urldecode(utf8_decode($eTag)); |
238 |
|
return ODataConstants::HTTP_WEAK_ETAG_PREFIX . rtrim($eTag, ',') . '"'; |
239 |
|
} |
240 |
|
|
241 |
|
return null; |
242 |
|
} |