Zach Borboa
2fb88ffde0
Fix "Operation not permitted" (PHP 5.3) and "Permission denied" (HHVM) errors
2014-12-11 21:50:25 -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
ffaeafe12c
Remove alternate expected response for hhvm; Remove hhvm from allow_failures
2014-12-10 22:41:25 -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
0bab1dd46c
Add test for parsing empty response ( #96 )
2014-12-07 21:51:27 -08:00
Zach Borboa
41c42faa0e
Fix #95 : Allow json data with PUT requests
2014-12-04 22:35:39 -08:00
Zach Borboa
6df8c93517
Add setReferrer() alias setReferer()
2014-11-14 09:42:44 -08:00
Zach Borboa
9c8818d087
Merge pull request #80 from zborboa-google/patch-3
...
Add script comments
2014-10-21 21:48:41 -07:00
Zach Borboa
78ccb17a42
Fix #84 : PHP 5.3 build failing
2014-10-19 03:56:19 -07:00
zborboa-google
351f4b51ab
Add script comments
2014-09-09 11:34:27 -07: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
Zach Borboa
9d608312a4
Merge branch 'multiple-curl-info-callback' of https://github.com/matteo78/php-curl-class
...
* 'multiple-curl-info-callback' of https://github.com/matteo78/php-curl-class :
Add unit test for normal getUrl cases
Split test for getUrl from test for getOptions
Add call to setUrl in other verbs
Add call to setUrl in single requests
Add getUrl, setUrl methods and setUrl call
Added tests for getUrl method
Add unit tests
Add getOpt function
2014-09-03 21:37:56 -07:00
Zach Borboa
9dc097c672
Add trailing whitespace test
2014-09-03 17:04:18 -07:00
Mattéo D
1c1cfd113a
Add unit test for normal getUrl cases
2014-08-31 16:11:46 +02:00
Mattéo D
9f960e460e
Split test for getUrl from test for getOptions
2014-08-31 16:05:10 +02:00
Mattéo D
79a3a0e9ef
Added tests for getUrl method
2014-08-31 15:54:33 +02:00
Mattéo D
d0770339ca
Add unit tests
2014-08-31 15:50:13 +02:00
Zach Borboa
a993a750c2
Update hhvm continuous integration installation
2014-08-18 09:44:18 -07:00
Zach Borboa
1e88df8a35
Remove hhvm cookie response workaround
2014-08-18 08:55:45 -07:00
Zach Borboa
35fb672f22
Remove PHP 5.3 from continuous integration test allowed failures
2014-08-17 15:20:48 -07:00
Zach Borboa
12d91574b6
Swap assertion parameter order
2014-08-17 00:23:51 -07:00
Zach Borboa
007bea958f
Fix #73 : Add PHP 5.3 to continuous integration tests
2014-08-16 23:26:37 -07:00
Zach Borboa
462839d39f
Replace HHVM's built-in webserver with Nginx for continuous integration tests
2014-07-24 10:46:10 -07:00
Zach Borboa
3b6debd09b
Move before_script and script to files
2014-07-24 10:39:35 -07:00
zborboa-google
8dbe63f820
Clean up
2014-07-08 09:11:39 -07:00
Zach Borboa
5163e1c2d4
Fix #67 : Change assertTrue to assertEquals where appropriate
2014-07-02 21:39:04 -07:00
Zach Borboa
2d883cef47
Encode cookies per RFC 3986
2014-06-28 17:39:16 -07:00
Zach Borboa
a03a603308
Include an HTTP HEAD request when testing response body
2014-06-24 19:11:18 -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
Zach Borboa
0481920ed3
Fix #58 : Include PHP_VERSION and curl version in user-agent
2014-05-22 22:28:01 -07:00
Zach Borboa
360058c529
Use namespaces
2014-05-22 21:29:24 -07:00
Zach Borboa
34742ee9e2
Decode atom+xml responses seamlessly
2014-05-18 01:16:37 -07:00
Zach Borboa
15a121c0e1
Clean up
2014-05-16 23:37:03 -07:00
Zach Borboa
b6b3b2ed76
Reorder and add xml content-type tests
2014-05-15 22:39:33 -07:00
Zach Borboa
96c076c5f5
Add additional content-type tests
2014-05-15 19:16:15 -07:00
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