Re: Ignore content length patch
Status: Alpha
Brought to you by:
coroberti
From: Pranav D. <pra...@gm...> - 2010-05-11 20:53:53
|
On Tue, May 11, 2010 at 10:58 AM, Robert Iakobashvili <cor...@gm...>wrote: > Hi Prahav, > > On Tue, May 11, 2010 at 8:41 PM, Pranav Desai <pra...@gm...>wrote: > >> Hi! >> >> I needed to ignore the content length for certain URLs (videos) for my >> test case. Without it curl-loader will report it as an error. I have >> attached a small patch for that. I thought it might be useful to someone >> else. It basically does this for the specified URL. >> >> curl_easy_setopt (handle, CURLOPT_IGNORE_CONTENT_LENGTH, 1); >> >> I have tested it a bit with my testbed and it seems to work as expected, >> so if you find any problems or if I have missed something please let me >> know. >> > > Thanks a lot. > Could you, please, provide patches for the man page and the README? > > Re-attached with the docs. > > >> >> Thanks >> -- Pranav >> >> >> ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> curl-loader-devel mailing list >> cur...@li... >> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel >> >> > > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > |