git.cweiske.de
/
phinde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d35cf6a
)
Use own HttpRequest class so we get get our own user agent
author
Christian Weiske
<
[email protected]
>
Sat, 7 Mar 2020 17:48:43 +0000
(18:48 +0100)
committer
Christian Weiske
<
[email protected]
>
Sat, 7 Mar 2020 17:48:43 +0000
(18:48 +0100)
src/phinde/HubUrlExtractor.php
patch
|
blob
|
history
diff --git
a/src/phinde/HubUrlExtractor.php
b/src/phinde/HubUrlExtractor.php
index a7f38a0461be0a2102b25b01dcef3c35cf8e5331..81a612cf31d0ef6499e15b48e47293720e46f0b5 100644
(file)
--- a/
src/phinde/HubUrlExtractor.php
+++ b/
src/phinde/HubUrlExtractor.php
@@
-196,8
+196,7
@@
class HubUrlExtractor
public function getRequest()
{
if ($this->request === null) {
- $request = new \HTTP_Request2();
- $request->setConfig('follow_redirects', true);
+ $request = new HttpRequest();
$this->setRequestTemplate($request);
}