1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 01:53:58 +01:00

3098 Commits

Author SHA1 Message Date
Michael Dowling
22aa8fbf61 [Service] Adding code coverage to ensure that a params array is not required for service descriptions. Adding better semantics for creating dynamic commands and adding tests to ensure that path is not ignored if no path variables are in a command. Path values in commands are now either relative or absolute. Absolute paths start with a forward slash and will overwrite a path set in a client base_url. A relative path does not start with a forward slash and will be appended to the end of a client base_url. 2011-10-17 13:58:08 -05:00
Michael Dowling
d8c3d77a24 Merge branch 'master' of https://github.com/guzzle/guzzle 2011-10-01 17:38:52 -05:00
Michael Dowling
1cd5bca85b [Http] Seeking back to the beginning of a stream after computing the Content-MD5 of an entity body 2011-10-01 17:38:22 -05:00
Michael Dowling
5659ce1ff5 Merge pull request #5 from hasbridge/master
Bugfix for errored and retried requests
2011-09-12 13:47:34 -07:00
Harold Asbridge
b55deb00ca Checking for non-empty values of host and port before setting them on the request object 2011-09-12 15:23:42 -05:00
Michael Dowling
b03aa41f6b Adding a way to limit the maximum number of curl handle connection reuses per host. 2011-09-07 14:30:43 -05:00
Michael Dowling
6b7f856095 [Service] Making the service builder easier to use 2011-09-04 22:54:45 -05:00
Michael Dowling
56bcafb095 Fixing more unit tests 2011-08-31 13:06:02 -05:00
Michael Dowling
00299e24e8 Merge branch 'master' of https://github.com/guzzle/guzzle 2011-08-31 09:57:16 -05:00
Michael Dowling
9b5732423b Releasing curl handles between curl factory tests 2011-08-31 09:56:50 -05:00
Harold Asbridge
24b5610e70 Fixing unit test temp file creation 2011-08-31 09:54:33 -05:00
Michael Dowling
2722230aff More tweaks to get tests passing on CentOS 2011-08-30 21:07:55 -05:00
Michael Dowling
bea15cd54d Fixing unit tests for CurlFactory so that they work in my CentOS testing environment 2011-08-30 20:28:54 -05:00
Michael Dowling
4f87cb420d Cleaning up some of the HTTP namespace 2011-08-28 19:33:42 -05:00
Michael Dowling
e59d864d66 Cleaning up the Common namespace 2011-08-28 11:58:47 -05:00
Michael Dowling
17b4ac50d6 Cleaning up the EventManager class. Using spl_object_hash as event keys. 2011-08-28 00:06:08 -05:00
Michael Dowling
fa3c3e5c34 Moving test_service.xml to TestData 2011-08-15 09:56:32 -05:00
Michael Dowling
be42e2b960 Removing .DS_STORE files 2011-08-15 09:50:41 -05:00
Michael Dowling
15df911330 Moving the test services.xml to TestData 2011-08-15 09:48:53 -05:00
Michael Dowling
657246bc5e Removing unused test suite file 2011-08-15 09:43:18 -05:00
Michael Dowling
e4ebef9a60 ServiceBuilder::factory now accepts an array of data, the path to a .xml|.js|.json file, or a SimpleXMLElement. Each type properly handles extending classes and validation. 2011-08-14 14:39:51 -05:00
Michael Dowling
0422b4f765 Adding a phing task to clone/update known guzzle web service clients 2011-08-14 12:39:16 -05:00
Michael Dowling
ef3da3fe1e Fixing rst code formatting 2011-08-13 22:44:01 -05:00
Michael Dowling
404bc8de6a Updating readme 2011-08-13 22:40:55 -05:00
Michael Dowling
e64636a8f8 Updating readme 2011-08-13 22:39:49 -05:00
Michael Dowling
83648be928 Updating README 2011-07-26 19:50:55 -05:00
Michael Dowling
a7ae469671 Removing verbose docblock headers from every class 2011-07-07 17:17:28 -05:00
Michael Dowling
bb0171b537 [Build] Cleaning up build script. Renaming client class file based on user input. Resolves #1 2011-05-08 19:16:05 -05:00
Michael Dowling
6136f7045a [Http] [Tests] Fixing a unit test that was not properly setting a mock response. Adding a convenience argument to EntityEnclosingRequest::setBody() so that you can set the body and the Content-Type at the same time. Adding more code coverage to EntityEnclosingRequest to ensure that subsequent requests can be sent using the same request object. 2011-05-08 19:02:41 -05:00
Michael Dowling
88bcaa8390 [Http] Adding a fix for parsing the Cache-Control directives of a message that has multiple Cache-Control headers. Closes #2. 2011-04-20 20:37:05 -05:00
Michael Dowling
a1baf54de7 [Service] Adding a ClientInterface so that it is possible to use other classes like OAuth or SoapClient with Guzzle by extending the class and implementing Guzzle\Service\ClientInterface. Removing public access modifiers from interfaces. v1.0.0 2011-04-17 18:11:50 -05:00
Michael Dowling
99264d1ad6 [Tests] Add coverage to Guzzle\Guzzle 2011-04-15 15:38:57 -05:00
Michael Dowling
330bf7b22a Adding missing Test/ folder from client template 2011-04-14 17:45:14 -05:00
Michael Dowling
5d1608a91d [Build] Adding a phing build target that will create a simple web service client template based on user input. 2011-04-14 17:33:58 -05:00
Michael Dowling
42fc68b5a4 Updating README 2011-04-14 14:43:28 -05:00
Michael Dowling
52e8d35c75 Updating README 2011-04-14 14:42:48 -05:00
Michael Dowling
25fc91d4ef Moving build related code to build/. Updating autoloader for guzzle.phar. 2011-04-14 13:40:13 -05:00
Michael Dowling
9e6c30ddf0 Adding a **/Tests/** exclusion when building phar files so that tests from Guzzle\Service\* clients do not get put into the phar. Only adding .php files to the phar. 2011-04-13 20:38:32 -05:00
Michael Dowling
a7762c5d56 Adding an autoloader stub to the generated guzzle.phar so that Guzzle\* classes are autoloaded. Fixing the phing phar build target. 2011-04-13 20:26:15 -05:00
Michael Dowling
05d4f1038b [Http] [Tests] Removing deprecated assertType calls in tests. Moving Guzzle\Http\Server related code to Guzzle\Tests\Http as it is not used for anything but testing. 2011-04-13 19:33:48 -05:00
Michael Dowling
a6f5e6a194 Removing /src from generated Phar file. Removing deprecated assertType calls from PHPUnit tests. 2011-04-13 12:44:53 -05:00
Michael Dowling
0be1876780 Updating build file 2011-04-13 09:01:34 -05:00
Michael Dowling
9914387a06 Adding a phing build target to create a guzzle phar file 2011-04-12 23:49:42 -05:00
Michael Dowling
e56029f7f5 Adding a Phing build file that can be used to initialize git submodules and to copy the phpunit.xml.dist file to phpunit.xml 2011-04-12 23:31:21 -05:00
Michael Dowling
7c463240f0 Updating README 2011-04-12 23:12:47 -05:00
Michael Dowling
782b323893 [Common] Adding a Monolog log adapter. Fixing the ZendLogAdapter and updating logging unit tests. Adding Monolog as a submodule and adding to to the test bootstrap. 2011-04-12 22:57:12 -05:00
Michael Dowling
4c2405ffed [Service] Changing the ServiceBuilder::factory() method to accept a SimpleXMLElement or a string filename to create a ServiceBuilder. This will make it easier to integrate with other applications without requiring any special builders. 2011-04-11 20:15:55 -05:00
Michael Dowling
8395dca859 [Http] Ensuring that cloned requests will attach observers to the cloned request using the same priority as the original request for each event observer. 2011-04-11 17:01:35 -05:00
Michael Dowling
3f224b7c8c [Http] Emitting the request.before_send event from Guzzle\Http\Pool\Pool when requests are being sent in a pool. This helps to ensure that plugins behave the same when they are dealing with single requests, request pools, commands, or command sets. This change resolves guzzle-aws issue: https://github.com/guzzle/guzzle-aws/issues#issue/5 2011-04-09 17:56:49 -05:00
Michael Dowling
04e033131b [Http] Making the calculation of an entity body MD5 hash default to true when using the Md5ValidatorPlugin. Fixing typo in docblock. 2011-04-08 13:51:29 -05:00