diff options
author | James Walker <walkah@walkah.net> | 2010-08-02 14:47:13 -0400 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-08-02 14:47:13 -0400 |
commit | 56294016a753c43c366bf4680da28a17cccc21d5 (patch) | |
tree | 2f10a8ca904c7cee6881fc94faa4583d852827df /plugins/OStatus/lib | |
parent | eaef724c4912ab51a1c6ebc14f1fef382b7ac2a1 (diff) |
fix #2478 - ensure all XRD documents get proper content-type headers
Diffstat (limited to 'plugins/OStatus/lib')
-rw-r--r-- | plugins/OStatus/lib/xrdaction.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/xrdaction.php b/plugins/OStatus/lib/xrdaction.php index 71c70b96e..d8cf648d6 100644 --- a/plugins/OStatus/lib/xrdaction.php +++ b/plugins/OStatus/lib/xrdaction.php @@ -101,7 +101,7 @@ class XrdAction extends Action $xrd->links[] = array('rel' => 'http://ostatus.org/schema/1.0/subscribe', 'template' => $url ); - header('Content-type: text/xml'); + header('Content-type: application/xrd+xml'); print $xrd->toXML(); } |