aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ap_probe.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-06 21:41:01 +0200
committergit-marijus <mario@mariovavti.com>2017-08-06 21:41:01 +0200
commitb0d1fa09c1f64ad435202e93d0d23cb1cc112b60 (patch)
treee0977c218d379e53502aa12bd8bc56de48cf3319 /Zotlabs/Module/Ap_probe.php
parent68b32cd8f414fc3df1279a3458082b2d8dfc3430 (diff)
parent3aa22c29fdaaae5902be7a8ce3be89678ee6bab4 (diff)
downloadvolse-hubzilla-b0d1fa09c1f64ad435202e93d0d23cb1cc112b60.tar.gz
volse-hubzilla-b0d1fa09c1f64ad435202e93d0d23cb1cc112b60.tar.bz2
volse-hubzilla-b0d1fa09c1f64ad435202e93d0d23cb1cc112b60.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs/Module/Ap_probe.php')
-rw-r--r--Zotlabs/Module/Ap_probe.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Ap_probe.php b/Zotlabs/Module/Ap_probe.php
index 769cd4c4e..29629a8eb 100644
--- a/Zotlabs/Module/Ap_probe.php
+++ b/Zotlabs/Module/Ap_probe.php
@@ -30,6 +30,7 @@ class Ap_probe extends \Zotlabs\Web\Controller {
$redirects = 0;
$x = z_fetch_url($addr,true,$redirects, [ 'headers' => [ $headers ]]);
if($x['success'])
+ $o .= '<pre>' . $x['header'] . '</pre>' . EOL;
$o .= '<pre>' . str_replace(['\\n','\\'],["\n",''],jindent($x['body'])) . '</pre>';
}
return $o;