]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/scripts/testfeed.php
Test in Ostatus_profile if avatar is an image before writing to filesystem
[quix0rs-gnu-social.git] / plugins / OStatus / scripts / testfeed.php
index 4dd5dfa370d1b832cd8ac58583d0d0663d968d6c..84b470c3b251dbfc1f31bfe7823fa628d1657643 100644 (file)
@@ -53,7 +53,7 @@ if (!$sub) {
 
 // Fetch the URL
 try {
-    $xml = HTTPClient::quickGet($feedurl);
+    $xml = HTTPClient::quickGet($feedurl, 'text/html,application/xhtml+xml');
 } catch (Exception $e) {
     echo sprintf("Could not fetch feedurl %s (%d).\n", $e->getMessage(), $e->getCode());
     exit(1);