Commit Graph

1150 Commits

Author SHA1 Message Date
Zach Borboa d4e5e4aae6 Delete extraneous files from destination when syncing library files inside containers 2018-11-08 07:38:10 -08:00
Zach Borboa 28bb757012 Fix #554: Add example for making a request through a SOCKS 5 proxy 2018-10-30 21:51:31 -07:00
Zach Borboa c2f47ca553 Fix #553: Add example for sending a POST request with XML data 2018-10-30 21:17:05 -07:00
Zach Borboa 538524f09b Clean up 2018-10-22 18:25:52 -07:00
Zach Borboa f981084aec Remove index confusing users
#550, #551
2018-10-17 16:57:12 -07:00
Sandy Ganz ab17c4f9c4 Removed index on response
The $curl->response seems to be all that is needed, the 'json' index was invalid when I tried it.
2018-10-10 09:05:22 -07:00
Zach Borboa 0f790e77b6 Ensure any code after a redirect is not executed 2018-10-01 23:54:52 -07:00
Zach Borboa 3193b41dcd Bump patch version 8.3.2 2018-09-09 00:05:39 -07:00
Zach Borboa eb5fbdead4 Fix #547: Add version check to troubleshooting doc 2018-09-08 23:59:08 -07:00
Zach Borboa fae6c3f471 Merge pull request #546 from zachborboa/master
Allow fileless requests to use Content-Type: multipart/form-data
2018-09-08 00:28:13 -07:00
Zach Borboa 6fc4c5824b Fix #545: Allow fileless requests to use Content-Type: multipart/form-data.
This change allows making requests that don't contain files to use
Content-Type: multipart/form-data. Previously, requests with array data
not specifying any files were sent using
Content-Type: application/x-www-form-urlencoded.
2018-09-07 23:53:02 -07:00
Zach Borboa d1e7f85045 Bump patch version 8.3.1 2018-08-25 03:01:21 -07:00
Zach Borboa e4d790864f Merge pull request #544 from zachborboa/master
Fix xml response when xml decode fails
2018-08-23 23:55:33 -07:00
Zach Borboa fc54b09d7a Move json encoder under \Curl\Encoder::encodeJson 2018-08-23 23:33:48 -07:00
Zach Borboa a053ed73ad Fix #543: Use original response when xml decode fails 2018-08-23 22:47:25 -07:00
Zach Borboa 34c751ce09 Add changelog 2018-08-20 22:36:30 -07:00
Zach Borboa 7243b35081 Clean up 2018-08-18 12:03:12 -07:00
Zach Borboa b5d9ec2120 Bump minor version 8.3.0 2018-08-18 11:02:12 -07:00
Zach Borboa 297ad3154c Merge pull request #540 from zachborboa/master
Allow objects implementing JsonSerializable to be serialized
2018-08-18 07:55:02 -07:00
Zach Borboa 76137ca48f Fix #538: Allow objects implementing JsonSerializable to be serialized to JSON when passed as request data 2018-08-18 07:35:18 -07:00
Zach Borboa 0c6ff28c8a Fix #537: Suggest enabling option to report all PHP errors 2018-08-09 21:06:15 -07:00
Zach Borboa e08391bb4a Limit keywords to 20 2018-08-06 08:37:15 -07:00
Zach Borboa c102e6288a Update keywords 2018-08-06 08:25:36 -07:00
Zach Borboa 130f2df23d Update keywords 2018-08-06 08:22:09 -07:00
Zach Borboa 4d4d80c22d Bump minor version 8.2.0 2018-08-04 11:16:07 -07:00
Zach Borboa 8db21899bc Add more detailed steps for testing all versions 2018-08-02 22:28:50 -07:00
Zach Borboa 59fe8a0c41 Merge pull request #536 from zachborboa/master
Wrap json_encode() to throw error when the value being encoded fails
2018-08-02 00:05:33 -07:00
Zach Borboa 082f7389e3 Wrap json_encode() to throw error when the value being encoded fails 2018-08-01 23:45:57 -07:00
Zach Borboa 6226ca0dd0 Merge pull request #535 from zachborboa/docker
Add additional containers for unit tests
2018-08-01 23:30:21 -07:00
Zach Borboa 6acf768078 Add files to run php53 tests inside a docker container 2018-08-01 23:03:48 -07:00
Zach Borboa 3b2f1db294 Add files to run php54 tests inside a docker container 2018-07-29 22:53:54 -07:00
Zach Borboa e5634b86d2 Add files to run php55 tests inside a docker container 2018-07-29 22:20:19 -07:00
Zach Borboa 2ffeeaa514 Merge pull request #534 from zachborboa/docker
Add ability to run unit tests in containers
2018-07-29 00:44:26 -07:00
Zach Borboa 860c9ff968 Add run container tests section 2018-07-29 00:27:49 -07:00
Zach Borboa 957bee4c76 Add script to run tests in all docker images 2018-07-29 00:14:56 -07:00
Zach Borboa fb698471e6 Add files to run php72 tests inside a docker container 2018-07-28 23:12:38 -07:00
Zach Borboa d82ff51e44 Add files to run php71 tests inside a docker container 2018-07-28 23:09:55 -07:00
Zach Borboa 5be7bd6aac Add files to run php70 tests inside a docker container 2018-07-28 23:03:44 -07:00
Zach Borboa 7edaee784d Add files to run php56 tests inside a docker container 2018-07-28 22:44:01 -07:00
Zach Borboa 26e6a966df Add allowed error that occurs when running unit tests inside container 2018-07-28 13:40:33 -07:00
Zach Borboa b794824ba1 Merge pull request #533 from zachborboa/master
Throw error when json_encode fails
2018-07-27 23:29:11 -07:00
Zach Borboa 7c750584fd Fix undefined function json_last_error_msg() for older versions of php 2018-07-27 22:31:26 -07:00
Zach Borboa 24e98595f0 Throw error when json_encode fails 2018-07-27 01:43:17 -07:00
Zach Borboa 6ce706da91 Fix #532: Add example that uses manual json encoding 2018-07-27 01:03:34 -07:00
Zach Borboa 01d9955e6d Use correct mime type 2018-07-22 21:41:43 -07:00
Zach Borboa d474d3f40f Default Curl::setProxyTunnel() to enable tunneling; Use Curl::setProxyTunnel() in proxy example 2018-07-17 20:21:44 -07:00
Zach Borboa 29dd124a6d Use Curl::setProxy() in proxy example 2018-07-17 20:16:55 -07:00
Zach Borboa d98ba1b9fb Merge pull request #531 from zachborboa/proxy
Implement methods to use proxy
2018-07-17 20:07:49 -07:00
Zach Borboa 86e12e3b91 Fix #331: Add methods to use proxy 2018-07-17 04:29:25 -07:00
Zach Borboa 34355b1eff Merge pull request #529 from zachborboa/mock
Add methods for mocking
2018-07-12 21:10:40 -07:00