Exception caught at xmlrpc_server_call_wrapper() issues undefined function drupal_set_header().
In D7 function is updated to drupal_add_http_header(). Patch is attached.

Comments

Status: Needs review » Needs work

The last submitted patch, xmlrpc_server_header.patch, failed testing.

mente’s picture

StatusFileSize
new1.29 KB

Updated patch, with correct path

kylebrowning’s picture

Version: 7.x-3.0-rc1 » 7.x-3.x-dev

Patches should be against dev version, I assume this might be fixed, but if not, it needs to be done against dev.

mente’s picture

It can be applied to the dev version as well

mente’s picture

StatusFileSize
new1.7 KB

Attached patch also returns xmlrpc error formatted, using function xmlrpc_error(). Includes previous changes.
Please review it and contact me if any.

mente’s picture

Status: Needs work » Needs review

xmlrpc_server_header.patch queued for re-testing.

kylebrowning’s picture

Status: Needs review » Closed (fixed)

Fixed, thanks!