Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.420
diff -u -F^f -r1.420 common.inc
--- includes/common.inc	22 Jan 2005 11:15:24 -0000	1.420
+++ includes/common.inc	31 Jan 2005 23:03:56 -0000
@@ -1788,7 +1788,9 @@ function drupal_get_path($type, $name) {
 include_once 'includes/menu.inc';
 include_once 'includes/tablesort.inc';
 include_once 'includes/file.inc';
-include_once 'includes/xmlrpc.inc';
+if (strstr($_SERVER['REQUEST_METHOD'], 'POST')) {
+  include_once 'includes/xmlrpc.inc';
+}
 
 // Set the Drupal custom error handler.
 set_error_handler('error_handler');
