1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 08:37:30 +02:00

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
8 changed files with 42 additions and 31 deletions

View File

@@ -258,6 +258,10 @@ final class Response
}
/**
* HTTP response may have multiple headers with the same name.
*
* This method by default, returns only the last header.
*
* @return string[]|string|null
*/
public function getHeader(string $name, bool $all = false)