On Jun 11 2009, 12:46 am, chuyeow <chuy...@gmail.com> wrote:
> Hi there,
> I've been trying to use some of thecookie-related arguments to curl
> in Curb but they seem to be missing from the current implementation.
> I've written 2 patches in my fork and hopefully a commiter can review
> This first one is a way to replicate this curl command:
> curl -b cookies-to-send.txtwww.example.com
> CURLOPT_COOKIEFILE is the option I'm looking for so I added this to
> Curb in my fork - see commithttp://github.com/chuyeow/curb/commit/99c71de50e1106a99244f09b5d4dbde...
> The other patch is to add a way to replicate this curl command.
> curl -b "name1=content1; name2=content2;"www.example.com
> where "name1" and "name2" arecookienames to send with the request.
> This corresponds to the CURLOPT_COOKIE option in libcurl, and I've
> added a way to access it in this commithttp://github.com/chuyeow/curb/commit/f5992da9be30d401f0acc4a0715e76b...