Changeset 29332 for trunk/base


Ignore:
Timestamp:
Sep 21, 2007, 8:26:16 AM (12 years ago)
Author:
afb@…
Message:

fix bug where Last-Modified header went into output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/pextlib1.0/curl.c

    r29122 r29332  
    270270        }
    271271
     272                /* skip the header data */
     273                theCurlCode = curl_easy_setopt(theHandle, CURLOPT_HEADER, 0);
     274                if (theCurlCode != CURLE_OK) {
     275                        theResult = SetResultFromCurlErrorCode(interp, theCurlCode);
     276                        break;
     277                }
     278               
    272279                /* write to the file */
    273280                theCurlCode = curl_easy_setopt(theHandle, CURLOPT_WRITEDATA, theFile);
Note: See TracChangeset for help on using the changeset viewer.