Commit Graph

96 Commits

Author SHA1 Message Date
Zach Borboa fed0f616f4 Fix #51: Prefer application/x-www-form-urlencoded when POSTing
Thanks @karboom for the report.
2014-05-13 21:46:23 -07:00
Zach Borboa aef528a568 Separate POST Content-Type test 2014-05-13 20:59:49 -07:00
Zach Borboa f5f660fbfc Merge pull request #49 from zborboa-google/patch-2
Include all php files when checking coding standards (#48)
2014-04-29 21:50:55 -07:00
Zach Borboa 564a0647f5 Fix syntax errors occurring on PHP 5.4, 5.5
Message: "Parse error: syntax error, unexpected 'public' (T_PUBLIC)"
2014-04-29 21:45:06 -07:00
Zach Borboa e5f1dd8bb6 Fix #48: Clean up syntax per PSR2 2014-04-29 16:57:53 -07:00
zborboa-google 67ca41606b Check all php files during syntax #48 2014-04-29 08:47:37 -07:00
Zach Borboa aa71e75cea Fix #47: Add http header redirect parsing test 2014-04-28 19:45:36 -07:00
Zach Borboa 7bbed34b16 Use Content-Type header stored in CONTENT_TYPE per RFC 3875
Normalize $_SERVER['CONTENT_TYPE'] with value from $_SERVER['HTTP_CONTENT_TYPE']
2014-04-17 22:14:49 -07:00
Zach Borboa efefd889f1 Fix response parsing when 100 Continue response contains optional headers 2014-04-16 23:05:12 -07:00
Zach Borboa 2ef439f7e4 Add Content-Type for xml decoding 2014-04-13 21:26:21 -07:00
Zach Borboa 3656fdfa62 Decode xml responses seamlessly 2014-04-13 15:20:21 -07:00
Zach Borboa 4fd093a1ec Add preliminary support for HHVM 2014-04-12 02:44:58 -07:00
Zach Borboa 322b4c70ee Use verbose logging level for hhvm server 2014-04-05 10:54:23 -07:00
Zach Borboa 679dd71ea6 Add hhvm server configuration 2014-04-04 15:34:25 -07:00
Zach Borboa 2f18692d9a Increase connection timeout to avoid assertion failing as "couldn't connect to host" 2014-03-30 01:21:27 -07:00
Zach Borboa 93350fe3a9 Fix #31: Combine multiple header fields into a comma-separated list 2014-03-29 02:24:04 -07:00
Zach Borboa 967181499a Update syntax test script 2014-03-29 01:19:49 -07:00
Zach Borboa 468980b836 Fix #24: Add support for HEAD and OPTIONS request methods 2014-03-29 01:07:39 -07:00
Zach Borboa 6a69b12a3c Add request header and response header parsing; Fix error message 2014-03-17 20:43:04 -07:00
Zach Borboa e907901850 Fix #28: Decode json responses seamlessly 2014-03-16 00:36:45 -07:00
Zach Borboa e6bea5e9b3 Fix duplicate test assertion 2014-03-14 02:03:55 -07:00
Zach Borboa 6c9709af59 Fix #27: Allow case-insensitive access to request headers and response headers 2014-03-14 01:27:06 -07:00
Zach Borboa 875f636931 Use associative-style arrays for request headers and response headers 2014-03-14 01:04:39 -07:00
Zach Borboa fbec34fd6c Add script for running test suite 2014-03-04 22:34:40 -08:00
Zach Borboa b8b2ead22c Add CURLFile test 2014-03-04 22:33:43 -08:00
Zach Borboa 50ded96cbc Move lib/ -> src/ 2014-03-04 22:20:41 -08:00
Zach Borboa 97cd33cb5a Fix undefined index when running test suite 2014-03-04 22:08:31 -08:00
Zach Borboa a326392a0b Separate basic authentication tests 2014-03-04 21:59:57 -08:00
Zach Borboa 854529b72c Remove extra slashes 2014-03-04 21:55:17 -08:00
Zach Borboa b896c1ad97 Add file not exists assertion 2014-03-04 21:43:29 -08:00
Zach Borboa 0e3a1b3b51 Update test url 2014-03-03 22:13:08 -08:00
Zach Borboa e68c6cad09 Use HTTP_CONTENT_TYPE in place of CONTENT_TYPE for test on PHP's built-in web server 2014-03-03 22:12:53 -08:00
Zach Borboa c9d723f967 Use PHP's built-in web server for running continuous integration tests 2014-03-03 21:37:00 -08:00
Zach Borboa 8edfb697f4 Update test url path 2014-03-03 20:49:32 -08:00
Zach Borboa 19bdf9a3c2 Add Travis CI and PHPUnit configuration; Update file paths for test suite 2014-03-03 20:48:09 -08:00
Zach Borboa 66c8908e0f Parse PUT and PATCH when content-type is application/x-www-form-urlencoded 2014-03-02 01:59:56 -08:00
Zach Borboa 4a8ed27a39 Clean up: CURLOPT_SSL_VERIFYPEER, CURLOPT_SSL_VERIFYHOST 2014-03-02 00:03:00 -08:00
Zach Borboa 18badca1d6 Add PATCH request method tests 2014-03-01 23:16:30 -08:00
Zach Borboa 6346341564 Add PATCH request method test; Separate success request tests 2014-03-01 09:45:43 -08:00
Zach Borboa a7590c8660 Fix #22: Include CURLOPT_CUSTOMREQUEST to override any existing request method 2014-03-01 02:31:23 -08:00
Zach Borboa 4d70aaa442 Use both $_PUT and $_PATCH variable in tests 2014-03-01 02:05:15 -08:00
Zach Borboa 74b6040274 Use $_PUT variable in tests 2014-03-01 01:03:38 -08:00
Zach Borboa 1c91d9d1a5 Add tests for setCookieFile() and setCookieJar() methods 2014-02-08 23:26:24 -08:00
Zach Borboa 2740cb8cec Clean up 2014-02-02 14:43:49 -08:00
Zach Borboa d61383a360 Remove screaming caps notation from tests and readme 2014-02-02 14:34:39 -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 eff61cb57d Add coding standard test script 2014-01-10 23:45:17 -08:00
Zach Borboa 6b07165ceb Fix test 2014-01-10 22:42:46 -08:00
Zach Borboa cdeb589a4c Add GET test handler for unit tests 2013-12-28 23:36:39 -08:00