Zach Borboa
ffa9651ffc
Clean up
2016-12-30 10:49:01 -08:00
Zach Borboa
79f659d159
Fix probable bugs; Clean up style
2016-12-28 19:19:23 -08:00
Zach Borboa
9eef25aa4f
Merge pull request #419 from zachborboa/master
...
Process multicurl requests in ascending numerical order
2016-12-25 02:05:52 -05:00
Zach Borboa
7dc6eba0af
Process multicurl requests in ascending numerical order.
...
Previously, multicurl requests were added to the end and removed from the end. Requests are now added to the end and
removed from the beginning. Using array_shift() will be slower than array_pop().
Before using "array_push()" + array_pop():
1
1 2
1 2 3
1 2 3 4
1 2 3
1 2
1
After using "array_push()" + array_shift():
1
1 2
1 2 3
1 2 3 4
2 3 4
3 4
4
2016-12-25 01:45:16 -05:00
Zach Borboa
b6e6524d29
Move array methods to separate file
2016-12-24 13:04:12 -08:00
Zach Borboa
bf701e7f3f
Move large rfc variables down
2016-12-24 12:52:17 -08:00
Zach Borboa
abc7dc2f53
Use Curl::getOpt() instead of reflection
2016-12-24 12:47:58 -08:00
Zach Borboa
96b3d50c2e
Simplify setCookie tests
2016-12-24 12:16:10 -08:00
Zach Borboa
80f874b7c2
Add multicurl download example with success, error, and complete callbacks
2016-12-23 00:55:16 -08:00
Zach Borboa
bd75d8a0cc
Merge pull request #418 from zachborboa/master
...
Implement setCookies()
2016-12-23 00:39:48 -08:00
Zach Borboa
7b5dd71bd5
Implement MultiCurl::setCookies()
2016-12-23 00:20:51 -08:00
Zach Borboa
296345b0a2
Implement Curl::setCookies()
2016-12-18 11:31:38 -08:00
Zach Borboa
de1869b3ee
Return boolean when calling setCookieFile() and setCookieJar()
2016-12-15 03:53:47 -08:00
Zach Borboa
d2ee158c92
Display php version and curl version when running ci tests
2016-12-15 03:51:33 -08:00
Zach Borboa
99f59daa06
Merge pull request #414 from zachborboa/cookie-test
...
Fix cookie file data failing to be included in request
2016-12-15 03:44:09 -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
9d35fe5b25
Merge pull request #412 from zachborboa/master
...
Fix test failing only on continuous integration servers
2016-12-10 14:41:16 -08:00
Zach Borboa
6e7c609ca8
Fix test failing only on continuous integration servers
2016-12-10 14:21:13 -08:00
Zach Borboa
c934f2252c
Improve description
2016-12-04 02:50:54 -08:00
Zach Borboa
07dee3e181
Bump minor version
7.1.0
2016-11-13 03:11:22 -08:00
Zach Borboa
95c9f92c9f
Clean up
2016-11-12 09:21:06 -08:00
Zach Borboa
36709adbba
Clean up
2016-11-12 09:04:24 -08:00
Zach Borboa
d6f4d1a8f6
Move rfc2616 and rfc6265 to deferred properties.
...
This avoids always calling array_fill_keys() for each new instance of Curl and
makes var_dump($curl); cleaner.
2016-11-12 08:57:58 -08:00
Zach Borboa
714d072a14
Mark skipped tests with PHPUnit markTestSkipped()
2016-11-12 08:41:23 -08:00
Zach Borboa
523c3fa834
Merge pull request #411 from zachborboa/master
...
Add additional resume Curl::download() tests
2016-11-11 01:52:58 -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
d8808daf7a
Add limited support for 416 Requested Range Not Satisfiable
2016-11-11 00:23:26 -08:00
Zach Borboa
e38820a5a3
Merge pull request #410 from zachborboa/master
...
Support resume for Curl::download()
2016-11-10 20:58:26 -08:00
Zach Borboa
7e0b477c9f
Fix PHP 5.3 syntax error (unexpected T_OBJECT_OPERATOR)
2016-11-10 20:44:02 -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
62d869ed17
Allow passing additional arguments when running unit test script
2016-11-06 00:37:36 -07:00
Zach Borboa
cf107b85ab
Merge pull request #408 from zachborboa/master
...
Allow calling Curl::getInfo() without option
2016-11-04 21:27:04 -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
9ad5458e25
Fix script omitting security section
2016-10-18 00:58:29 -07:00
Zach Borboa
cbfbd66af0
Show a more complete first example
2016-10-18 00:56:43 -07:00
Zach Borboa
e2efcfbb05
Add additional example where requests with redirection enabled may be unsafe
2016-10-18 00:51:37 -07:00
Zach Borboa
2de669e996
Merge pull request #401 from zachborboa/master
...
Use sequential ids
2016-10-14 20:23:22 -07:00
Zach Borboa
5cb8223c47
Fix #400 : Use sequential ids to allow for ordered post processing
2016-10-14 19:50:57 -07:00
Zach Borboa
5763a7c60f
Remove unused variable
2016-10-14 19:46:06 -07:00
Zach Borboa
f53cd9cbeb
Fix typo
2016-10-14 18:54:41 -07:00
Zach Borboa
1d7af4465f
Clean up
2016-10-13 00:10:05 -07:00
Zach Borboa
efe1bcc944
Add section headers
2016-10-13 00:08:25 -07:00
Zach Borboa
5cd1df88f5
Clean up
2016-10-12 23:48:02 -07:00
Zach Borboa
7b7b84eb68
Add additional security considerations
2016-10-12 23:43:24 -07:00
Zach Borboa
b127e6fb07
Add security section
2016-10-12 09:17:44 -07:00
Zach Borboa
e3d8cdd5d4
Update methods in readme
2016-10-12 08:30:29 -07:00