Commit Graph

196 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 063a5b1f01 Merge branch 'master' of github.com-php-curl-class:php-curl-class/php-curl-class
* 'master' of github.com-php-curl-class:php-curl-class/php-curl-class:
  Check all php files during syntax #48
2014-04-29 21:57:32 -07:00
Zach Borboa 6c6ab79511 Update continuous integration to check all PHP files for syntax errors 2014-04-29 21:56:54 -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 b84acca6b1 Include leading slash when checking for HTTP-Version field (RFC 2616 § 3.1) 2014-04-28 19:50:24 -07:00
Zach Borboa aa71e75cea Fix #47: Add http header redirect parsing test 2014-04-28 19:45:36 -07:00
Zach Borboa c315c5f920 Clean up syntax pursuant to PSR2 2014-04-28 19:22:55 -07:00
bangbang93 257c255e4e fix: HTTP 301 导致$response内有header
$response_header = 'HTTP 301...';
$response = 'HTTP 200.....<body>';
2014-04-28 18:38:00 +08: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 e1ef501ea1 Remove redundant newline checking 2014-04-17 22:08:04 -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 b2435aa554 Move response parsing to separate function 2014-04-16 22:44:32 -07:00
Zach Borboa 75bc90fb99 Add Flickr photo search example 2014-04-15 15:16:57 -07:00
Zach Borboa 2ef439f7e4 Add Content-Type for xml decoding 2014-04-13 21:26:21 -07:00
Zach Borboa c6352873a9 Add deviantART rss feed example 2014-04-13 21:09:50 -07:00
Zach Borboa 3656fdfa62 Decode xml responses seamlessly 2014-04-13 15:20:21 -07:00
Zach Borboa 24a93bdc51 Bump major version 2.0.0 2014-04-12 02:46:33 -07:00
Zach Borboa 4fd093a1ec Add preliminary support for HHVM 2014-04-12 02:44:58 -07:00
Zach Borboa 157893bc50 Merge pull request #44 from zborboa-google/patch-1
Make case-insensitive access to headers more obvious
2014-04-11 21:01:24 -07:00
zborboa-google 3e63267abe Make case-insensitive access to headers more obvious 2014-04-11 12:15:34 -07:00
Zach Borboa f382f117fe Merge pull request #42 from zborboa-google/master
Fix #41: Add PUT example
2014-04-11 12:04:50 -07:00
Zach Borboa 9b19a8c906 Fix #41: Add PUT example 2014-04-11 10:38:34 -07:00
Zach Borboa d166b98adb Merge pull request #40 from zachborboa/master
Use verbose logging level for hhvm server
2014-04-07 22:41:01 -07:00
Zach Borboa 322b4c70ee Use verbose logging level for hhvm server 2014-04-05 10:54:23 -07:00
Zach Borboa 6f986545b1 Merge pull request #39 from zborboa-google/master
Fix #38: Use HHVM's built-in web server for continuous integration tests
2014-04-05 10:51:01 -07:00
Zach Borboa dc94a09e35 Include trailing ampersand for built-in web server to be non-blocking 2014-04-04 16:51:29 -07:00
Zach Borboa 12cdee434b Use HHVM's built-in web server when testing HHVM 2014-04-04 15:56:38 -07:00
Zach Borboa 0acf95d3e1 Use consistent calls for tests 2014-04-04 15:40:52 -07:00
Zach Borboa 679dd71ea6 Add hhvm server configuration 2014-04-04 15:34:25 -07:00
Zach Borboa 20d5b6956e Fix #36: Add example of case-insensitive access to headers 2014-04-02 22:35:00 -07:00
Zach Borboa 88ba4b21c2 Merge pull request #37 from zborboa-google/patch-1
Exclude built-in development server on PHP 5.3
2014-04-02 09:54:20 -07:00
zborboa-google 0c9fda4165 Fix syntax error when using a trailing ampersand 2014-04-02 09:52:43 -07:00
zborboa-google bb7c86bc0e Exclude built-in development server on PHP 5.3 2014-04-02 08:44:08 -07:00
Zach Borboa 49f245af19 Clean up 2014-04-01 22:21:37 -07:00
Zach Borboa 80438d21ab Fix #34: Add PHP 5.3 to continuous integration tests 2014-04-01 22:18:30 -07:00
Zach Borboa 4b7e328b84 Add PHP syntax/lint check to continuous integration tests 2014-04-01 22:14:16 -07:00
Zach Borboa 68a43d8312 Clean up 2014-04-01 22:09:39 -07:00
Zach Borboa 0a67629a60 Add PHP 5.6 to continuous integration tests 2014-04-01 22:09:22 -07:00
Zach Borboa 804797ee3d Fix #35: Add hhvm to continuous integration tests 2014-04-01 22:06:46 -07:00
Zach Borboa 8f89dafed1 Fix #32: Replace function array dereferencing syntax to avoid syntax errors < PHP 5.4.0 2014-03-31 22:18:11 -07:00
Zach Borboa 5e7b16b7b0 Add Instagram search photos example 2014-03-30 07:31:05 -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 544144c94b Merge branch 'examples'
* examples:
  Add Twitter post tweet example
2014-03-30 01:11:33 -07:00
Zach Borboa afd6916c4d Add Twitter post tweet example 2014-03-30 01:10:51 -07:00
Zach Borboa 5367cc043e Merge branch 'examples'
* examples:
  Add Coinbase account balance example
  Add Coinbase spot rate example
2014-03-29 17:16:50 -07:00
Zach Borboa bcb8e40c92 Add Coinbase account balance example 2014-03-29 17:12:37 -07:00