Browse Source
return http code for test redirects
pull/2/merge
0.1.8
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
1 additions and
1 deletions
-
src/p3k/HTTP/Test.php
|
|
@ -88,7 +88,7 @@ class Test implements Transport { |
|
|
|
return $this->_read_file($effectiveUrl); |
|
|
|
} else { |
|
|
|
return [ |
|
|
|
'code' => 0, |
|
|
|
'code' => (int)$code, |
|
|
|
'header' => $headers, |
|
|
|
'headers' => $parsedHeaders, |
|
|
|
'rels' => \IndieWeb\http_rels($headers), |
|
|
|