I get HttpClientDelegate class not found error when calling http_client() function. After checking the http_client_autoload_info() function in http_client.module, I think there is a missing autoload config in the function. To fix this, I am currently putting this piece of code inside my own module (e.g. module 'foo').

function foo_autoload_info() {
    // fixing http_client's autoload problem
    return array(
        'HttpClientDelegate' => array(
            'file' => '/includes/HttpClient.inc',
            'file path' => drupal_get_path('module', 'http_client')
        )
    );
}

Comments

voxpelli’s picture

Status: Active » Fixed

A fix for this is now committed - sorry for the extreme delay. The fix should appear in a development release shortly.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.