aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-13 19:06:52 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-13 19:06:52 -0700
commitbf77043b5137dcfe2d59a49d300e01be3e6e3674 (patch)
tree01b6479fd7629571050ac2249e757ba92505c0eb
parent957827bda7ea1a5003222a49db94130ec9fb73cb (diff)
downloadvolse-hubzilla-bf77043b5137dcfe2d59a49d300e01be3e6e3674.tar.gz
volse-hubzilla-bf77043b5137dcfe2d59a49d300e01be3e6e3674.tar.bz2
volse-hubzilla-bf77043b5137dcfe2d59a49d300e01be3e6e3674.zip
set correct content-type on feeds, status.net is fussy and ignores the one declared in the xrd
-rw-r--r--mod/dfrn_poll.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index f5a761983..fc663f797 100644
--- a/mod/dfrn_poll.php
+++ b/mod/dfrn_poll.php
@@ -27,6 +27,7 @@ function dfrn_poll_init(&$a) {
}
if(($dfrn_id === '') && (! x($_POST,'dfrn_id')) && ($a->argc > 1)) {
+ header("Content-type: application/atom+xml");
$o = get_feed_for($a, '*', $a->argv[1],$last_update);
echo $o;
killme();
@@ -203,6 +204,7 @@ function dfrn_poll_post(&$a) {
// NOTREACHED
}
else {
+ header("Content-type: application/atom+xml");
$o = get_feed_for($a,$dfrn_id, $a->argv[1], $last_update, $direction);
echo $o;
killme();