Commit Graph

34 Commits

Author SHA1 Message Date
Zach Borboa 80adf0f3a1 Add json encoding when request header Content-Type is set to application/json 2014-12-31 01:14:18 -08:00
Zach Borboa 5d7d25ac15 Use CaseInsensitiveArray when setting headers 2014-12-31 00:19:11 -08:00
Zach Borboa 44469ecfe3 Use key/value when setting header 2014-12-30 23:25:01 -08:00
Zach Borboa 4cb1436983 Fix "Warning: curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*" 2014-12-30 17:04:10 -08:00
Zach Borboa 4bb926c831 Bump version 2014-12-18 10:22:32 -08:00
Zach Borboa 001cfd646b Add CURLOPT_RETURNTRANSFER reset when using download method; Fix download method test failing on PHP 5.3 due to different png files being created on the server and client when using imagepng(). 2014-12-11 21:02:19 -08:00
Zach Borboa 63f47648b0 Fix #98: Implement download() method 2014-12-11 10:20:41 -08:00
Zach Borboa 247aa78822 Write response headers to a stream resource and make CURLOPT_HEADER optional 2014-12-10 22:27:28 -08:00
Zach Borboa 77bbf1bd14 Clean up capitalization 2014-12-08 00:12:50 -08:00
zborboa-google 9e3801af77 Clean up 2014-12-05 09:25:23 -08:00
Aleksey 413d7ee981 init var $response_header 2014-12-05 15:53:21 +07:00
Zach Borboa 41c42faa0e Fix #95: Allow json data with PUT requests 2014-12-04 22:35:39 -08:00
Zach Borboa 1707167890 Merge pull request #94 from zachborboa/master
Fix #93: Add setReferrer() alias setReferer()
2014-11-14 09:49:58 -08:00
Zach Borboa 6df8c93517 Add setReferrer() alias setReferer() 2014-11-14 09:42:44 -08:00
zborboa-google 31932a015f Clean up 2014-11-05 11:50:47 -08:00
Willian 600a2b0eba Search Content-Type header with regexp 2014-10-09 18:36:52 -03:00
Willian e3f8f75065 Add alternative json mimetype
I think it may be useful to decode JSON served under JSON API mimetype.
http://jsonapi.org/
2014-10-09 09:45:24 -03:00
Zach Borboa 530c412da5 Add base url property 2014-09-06 16:44:11 -07:00
Zach Borboa e17f854555 Make $instance->url public; Remove getUrl(), setUrl() 2014-09-06 16:31:01 -07:00
Zach Borboa 896eb5ebdf Include querystring data in the url for the appropriate HTTP request methods 2014-09-03 23:08:29 -07:00
Mattéo D 46e941a452 Add call to setUrl in other verbs 2014-08-31 16:02:08 +02:00
Mattéo D 2f9bc2e4c4 Add call to setUrl in single requests 2014-08-31 16:00:42 +02:00
Mattéo D 40abd6b1ac Add getUrl, setUrl methods and setUrl call 2014-08-31 15:56:30 +02:00
Mattéo D 9da5d9d2ea Add getOpt function
Allows to get a previously set option.
2014-08-31 15:31:06 +02:00
Zach Borboa 007bea958f Fix #73: Add PHP 5.3 to continuous integration tests 2014-08-16 23:26:37 -07:00
Sam Sanchez 209b35a6ae minus performance enhance 2014-08-03 14:35:13 +08:00
Zach Borboa 2d883cef47 Encode cookies per RFC 3986 2014-06-28 17:39:16 -07:00
Zach Borboa 54a3dd5edc Fix #53: Return response body when calling HTTP request methods 2014-06-24 18:48:36 -07:00
Zach Borboa 85e4109f6a Fix #64: Allow access to raw response content 2014-06-12 09:30:08 -07:00
Zach Borboa eefd6593fa Fix #61: Ensure curl error is correctly set when making GET calls in parallel 2014-05-28 10:08:02 -07:00
maisumakun 632511b5de getting curl_error_code from curl_multi_info_read() when curl_multi mode 2014-05-28 09:53:29 +09:00
Zach Borboa 0481920ed3 Fix #58: Include PHP_VERSION and curl version in user-agent 2014-05-22 22:28:01 -07:00
Zach Borboa 112210a61e Bump version 2014-05-22 21:32:27 -07:00
Zach Borboa 360058c529 Use namespaces 2014-05-22 21:29:24 -07:00