Curl HTTP Client 1.2

Just put online new version of my Curl_HTTP_Client class. New version 1.2 is release with few bug fixes. New features are ability to send post string as string argument in send_post_data method, ability to accept gzipped content, close curl session etc.

You can download new version from here. For detailed list of features with some usefull examples please visit this blog entry.

Comments

  1. Dreammaker
    September 13th, 2008 | 7:39 am

    Thanx for class. I’ll use it in my project.

  2. Hal
    September 24th, 2009 | 11:40 pm

    Is this class open source? I notice you kept the copyright to yourself. You might want to add a license file to the distribution so it’s clear how you would like others to copy and extend your work, if at all.

  3. September 24th, 2009 | 11:43 pm

    Yeah I want it to be open source, just wasn’t 100% sure which licence to use. BSD perhaps? I want to give developers as much freedom as I can.

  4. March 17th, 2010 | 2:44 pm

    please add function for CURLOPT_HTTPHEADER option for using like^

    $opts = array(
    ‘http’ => array(
    ‘method’ => “GET”,
    ‘header’ => “X-Requested-With: XMLHttpRequest\r\n”
    )
    );
    $context = stream_context_create($opts);
    page = file_get_contents($url, false, $context);

Leave a reply