Browse Source

fix should follow redirects check

pull/39/head
Aaron Parecki 8 years ago
parent
commit
b7f49a7958
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/HTTP.php

+ 1
- 1
lib/HTTP.php View File

@ -31,7 +31,7 @@ class HTTP {
} }
private function _class($url) { private function _class($url) {
if(should_follow_redirects($url)) {
if(!should_follow_redirects($url)) {
return 'p3k\HTTPStream'; return 'p3k\HTTPStream';
} else { } else {
return 'p3k\HTTPCurl'; return 'p3k\HTTPCurl';

Loading…
Cancel
Save