Commit Graph

13 Commits

Author SHA1 Message Date
Zach Borboa 258a3c396c Fix curl @filename API deprecation error 2014-03-03 23:17:03 -08:00
Zach Borboa 1559daa462 Use CURLFile class when available to replace the @filename API for file uploading 2014-03-03 22:57:58 -08:00
Zach Borboa 1195d14e00 Re-use close method 2014-03-03 22:02:39 -08:00
Zach Borboa a7590c8660 Fix #22: Include CURLOPT_CUSTOMREQUEST to override any existing request method 2014-03-01 02:31:23 -08:00
Gotardo González dc51340809 Bugfix: If you make a GET request after a PUT request you still have the PUT value for CURLOPT_CUSTOMREQUEST, causing an error.
I have forced CURLOPT_CUSTOMREQUEST to 'GET' on get requests to avoid header overriding.
2014-02-27 17:53:09 +01:00
Zach Borboa 0a683fc98a Add setCookieFile() and setCookieJar() methods 2014-02-02 14:44:28 -08:00
Zach Borboa 3bd7174d61 Fix #20: Ensure required options are set 2014-02-02 10:28:36 -08:00
Zach Borboa 56aa5eb0d6 Fix #18: Fix "not a valid cURL handle resource" error 2014-02-01 16:03:22 -08:00
Zach Borboa 3667ac11a9 Remove underscore prefix from protected method name Curl::exec 2014-01-10 23:35:41 -08:00
Zach Borboa dfcc9dfbe6 Remove screaming caps notation 2014-01-10 23:24:18 -08:00
Zach Borboa e5e9779132 Move http_build_multi_query outside class 2014-01-10 23:07:31 -08:00
Zach Borboa 1028456f17 Prefix private method name http_build_multi_query with an underscore 2014-01-10 22:56:22 -08:00
Zach Borboa 6b07165ceb Fix test 2014-01-10 22:42:46 -08:00