projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957827b
)
set correct content-type on feeds, status.net is fussy and ignores the one declared...
author
Mike Macgirvin
<mike@macgirvin.com>
Thu, 14 Oct 2010 02:06:52 +0000
(19:06 -0700)
committer
Mike Macgirvin
<mike@macgirvin.com>
Thu, 14 Oct 2010 02:06:52 +0000
(19:06 -0700)
mod/dfrn_poll.php
patch
|
blob
|
history
diff --git
a/mod/dfrn_poll.php
b/mod/dfrn_poll.php
index f5a7619834ab3710b1c5432ab2a72274ed80e4ba..fc663f797709d2009fca50785056060ef5dbbadc 100644
(file)
--- 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();