Zach Borboa
296345b0a2
Implement Curl::setCookies()
2016-12-18 11:31:38 -08:00
Zach Borboa
7a623ac0de
Add newline to allow cookie file to be read correctly and cookies to be included in request
2016-12-15 03:29:33 -08:00
Zach Borboa
04b8a63e71
Use Curl::setCookieFile()
2016-12-15 03:17:31 -08:00
Zach Borboa
4b8f6e0082
Readd assertion testing cookie sent in request and received by server
2016-12-15 03:17:04 -08:00
Zach Borboa
6e7c609ca8
Fix test failing only on continuous integration servers
2016-12-10 14:21:13 -08:00
Zach Borboa
95c9f92c9f
Clean up
2016-11-12 09:21:06 -08:00
Zach Borboa
714d072a14
Mark skipped tests with PHPUnit markTestSkipped()
2016-11-12 08:41:23 -08:00
Zach Borboa
6b63561944
Add additional download tests with partial file having same or larger file size as source
2016-11-11 00:38:30 -08:00
Zach Borboa
5cb05e956a
Fix #405 : Support resume for Curl::download()
2016-11-10 20:34:18 -08:00
Zach Borboa
d2313c0294
Move file upload and removal to helper functions
2016-11-06 01:13:42 -07:00
Zach Borboa
9bfdd791cd
Remove keys not found in curl_getinfo() response on select systems
2016-11-04 21:10:57 -07:00
Zach Borboa
ed37de7d87
Fix #404 : Allow calling Curl::getInfo() without option
2016-11-04 02:24:50 -07:00
Zach Borboa
cc23a1b29e
Fix Curl::unsetHeader()
2016-09-24 01:02:04 -07:00
Zach Borboa
363a362bcd
Fix #332 : Implement Curl::setMaxFilesize()
2016-09-23 01:13:49 -07:00
Zach Borboa
7ca7ac3629
Use request-line header and effectiveUrl for assertions
2016-09-04 03:03:24 -07:00
Zach Borboa
35ac500e03
Improve cookie handling for multicurl requests.
...
Fix Curl::responseCookies set in headerCallback() being overwritten during multicurl request.
Use rfc cookie encoding when using MultiCurl::setCookie().
Make MultiCurl::responseCookies publicly accessible.
2016-09-04 01:12:06 -07:00
Zach Borboa
8db91c79c7
Ensure Curl::setOpts() returns true when all options are successfully set
2016-08-29 22:44:48 -07:00
Zach Borboa
39c21041a5
Clean up per PSR2
2016-08-24 00:25:38 -07:00
Zach Borboa
849137a95e
Use explicit argument separator when building url
2016-08-12 02:01:23 -07:00
Zach Borboa
e705f5e86e
Skip setOpt test on 5.3, 5.4, and HHVM
2016-08-07 23:18:36 -07:00
Zach Borboa
26701569b2
Implement Curl::setOpts()
2016-08-07 22:41:12 -07:00
Zach Borboa
b1f345b2f3
Add test for Curl::setOpt
2016-08-07 22:24:39 -07:00
Zach Borboa
a32726bc09
Clean up
2016-08-07 01:37:30 -07:00
Zach Borboa
679ce8e3c4
Fix #345 : Allow POSTing multidimensional array with file
2016-08-07 00:04:36 -07:00
Zach Borboa
8285b9ff21
Fix #357 : Allow passing json_decode() parameters to Curl::setDefaultJsonDecoder
2016-07-23 01:26:57 -07:00
Zach Borboa
15efc64824
Add test for Curl::setCookieString
2016-07-17 14:42:55 -07:00
Zach Borboa
b24b575e58
Make Curl::totalTime a deferred property
2016-07-11 00:17:11 -07:00
Cyrille Faucheux
dc6001688f
Support post-redirect-get requests
2016-03-05 13:45:25 +01:00
Zach Borboa
6214b87670
Add test for Curl::getResponseCookies()
2016-02-05 02:52:22 -08:00
Zach Borboa
8cf2631c54
Fix #295 : Allow setting a custom XML decoder
2016-01-31 04:20:26 -08:00
Zach Borboa
c4d143f8f1
Skip memory leak test failing for PHP 7
2016-01-22 19:49:59 -08:00
Zach Borboa
4f62b45d5b
Add Curl::effectiveUrl
2016-01-18 20:39:52 -08:00
Zach Borboa
4a78a38238
Clean up
2015-11-10 08:05:14 -08:00
Zach Borboa
60594d5331
Fix #258 : Allow sending request data with non-file values prefixed with the @ character
2015-10-27 23:04:32 -07:00
Zach Borboa
f0bc858897
Fix #257 : Preserve space in cookie delimiter
2015-10-27 21:29:38 -07:00
Maxim Epishchev
443aa73851
Cookie: preserve encode space to '%20' in delimiter, when multiple cookies available
2015-10-27 11:36:47 +03:00
Zach Borboa
d69cded020
Fix #254 : CaseInsensitiveArray not found.
2015-10-20 21:54:53 -07:00
Zach Borboa
62e9bdf693
Skip test on HHVM due to "Segmentation fault"
2015-10-15 09:56:51 -07:00
Zach Borboa
7430a2a954
Fix #250 : Allow specifying a buffer when using Curl::verbose()
2015-10-14 17:49:48 -07:00
Zach Borboa
2e10ae416e
Fix #240 : Make CURLINFO_HEADER_OUT optional.
...
CURLINFO_HEADER_OUT is true by default, but now optional. When
CURLINFO_HEADER_OUT is not true, requestHeaders will be null.
2015-09-04 09:09:07 -07:00
Zach Borboa
145e7b76b1
Add test for #193
2015-08-27 12:26:56 -07:00
Pete Watts
9d03d46290
Fix #234 Fixed PATCH request method to correctly support sending body data.
2015-08-20 12:46:32 +01:00
Pete Watts
a7ed5182da
Fixed test CurlTest::testUserAgent where PHP_VERSION contains regex special chars (e.g. 5.6.9-0+deb8u1)
2015-08-20 12:38:48 +01:00
Zach Borboa
f10ca99e59
Add test for PATCHing a multidimensional array ( #205 )
2015-08-20 00:44:28 -07:00
Zach Borboa
8d701b0648
Fix #191 : Use $camelCase for properties (class member variables)
2015-07-30 23:54:03 -07:00
Zach Borboa
e3b405ed5d
Add support for detecting additional JSON content-types
2015-04-30 08:19:38 -07:00
Zach Borboa
a79e64b2ca
Fix #174 : Correctly set cookie value when using http_build_query().
...
http_build_query() url encodes the cookie data array. Use urldecode() to undo
the URL-encoding and allow characters including the colon (":").
2015-04-29 12:38:07 -07:00
Zach Borboa
8ce0a208b5
Skip Digest Access Authentication test on HHVM
2015-04-23 16:19:47 -07:00
Zach Borboa
3ebc19f916
Clean up request method tests
2015-04-23 15:45:34 -07:00
Zach Borboa
7256a716a1
Fix missing body in DELETE tests
2015-04-23 15:44:15 -07:00