Browse Source

return http code for test redirects

pull/2/merge 0.1.8
Aaron Parecki 5 years ago
parent
commit
a43977636d
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/p3k/HTTP/Test.php

+ 1
- 1
src/p3k/HTTP/Test.php View File

@ -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),

Loading…
Cancel
Save