Commit Graph

26 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 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
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 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 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 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 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 19bdf9a3c2 Add Travis CI and PHPUnit configuration; Update file paths for test suite 2014-03-03 20:48:09 -08:00