Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
batch system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2015 at 10:14 UTC
Updated:
14 Oct 2015 at 16:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
driki_ commentedplease find the patch
Comment #3
driki_ commentedI was just looking at this function from includes/xmlrpcs.inc :
function xmlrpc_server_output($xml) {
$xml = '<?xml version="1.0"?>' . "\n" . $xml;
drupal_add_http_header('Content-Length', strlen($xml));
drupal_add_http_header('Content-Type', 'text/xml');
echo $xml;
drupal_exit();
}
I think it probably would make sense to have the same behaviour on drupal_json_output maybe.
I'll try to get the full stack of hook for batch and a normal page in a following comment.