We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec33375 commit 1dff2b5Copy full SHA for 1dff2b5
src/FeedIo/Adapter/Client.php
@@ -37,13 +37,13 @@ public function setUserAgent(string $userAgent): Client
37
public function getResponse(string $url, DateTime $modifiedSince = null): ResponseInterface
38
{
39
if ($modifiedSince) {
40
- $headResponse = $this->request('head', $url, $modifiedSince);
+ $headResponse = $this->request('HEAD', $url, $modifiedSince);
41
if (304 === $headResponse->getStatusCode()) {
42
return $headResponse;
43
}
44
45
46
- return $this->request('get', $url, $modifiedSince);
+ return $this->request('GET', $url, $modifiedSince);
47
48
49
/**
0 commit comments