diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index 85e808c0..2391b571 100644 --- a/dwpost/dwpost.php +++ b/dwpost/dwpost.php @@ -213,7 +213,7 @@ EOT; logger('dwpost: data: ' . $xml, LOGGER_DATA); if($dw_blog !== 'test') - $x = post_url($dw_blog,$xml); + $x = post_url($dw_blog,$xml,array("Content-Type: text/xml")); logger('posted to dreamwidth: ' . ($x) ? $x : '', LOGGER_DEBUG); }