feat: add etag support to getContents (#3893)

This commit is contained in:
Dag 2024-01-12 01:31:01 +01:00 committed by GitHub
parent d5175aebcc
commit 191e5b0493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 31 deletions

View file

@ -518,7 +518,10 @@ abstract class XPathAbstract extends BridgeAbstract
if (strlen($value) === 0) {
return '';
}
if (strpos($value, 'http://') === 0 || strpos($value, 'https://') === 0) {
if (
strpos($value, 'http://') === 0
|| strpos($value, 'https://') === 0
) {
return $value;
}