1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-12 19:41:18 +01:00

108 Commits

Author SHA1 Message Date
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
Michael Dowling
e324a44675 [Http] Making sure that the fseek operation succeeded on the stream before calculating the MD5 hash 2011-04-08 10:10:12 -05:00
Michael Dowling
0bc9e1fb80 [Http] Using streaming hash functions to calculate the Content-MD5 hash of an EntityBody. This is safer because it does not require that the entire contents of a stream be loaded into memory to calculate the MD5 hash. 2011-04-08 10:05:41 -05:00
Michael Dowling
6bff5cbd83 [Http] Making the Content-MD5 validation plugin more readable and adding more test coverage 2011-04-07 23:27:01 -05:00
Michael Dowling
85ed138b78 [Http] Adding a Content-MD5 validator plugin to ensure that the response body was not modified in transit 2011-04-07 23:20:20 -05:00
Michael Dowling
ba29bb3820 [Service] Adding ArrayAccess interface to ServiceBuilder 2011-04-07 09:54:43 -05:00
Michael Dowling
e1301deaa9 Fixing .gitmodules 2011-04-06 11:14:03 -05:00
Michael Dowling
91f065cab0 Moving phpunit.xml to phpunit.xml.dist. Moving library/ to src/ 2011-04-06 11:11:04 -05:00
Michael Dowling
0bd673fd48 Moving vendors to /vendor and using submodules 2011-04-06 10:58:55 -05:00
Michael Dowling
09710895c2 [Http] Updating regex to match parts in the status line 2011-03-30 11:33:22 -05:00
Michael Dowling
8f41764d02 [Http] Removing reference to clas property that does not exist 2011-03-29 13:31:38 -05:00
Michael Dowling
7c5d5a9867 [Http] Cleaning up message parsing 2011-03-29 13:04:34 -05:00
Michael Dowling
6e02eee711 [Http] Removing the MultipartFormData class cURL will handle this better 2011-03-28 22:50:19 -05:00
Michael Dowling
55523cf8bf [Http] Removing readChunked from EntityBody as this is handled by cURL 2011-03-28 22:44:40 -05:00
Michael Dowling
a1adbca83f [Http] Removing the functionality that determined if a file should be compressed based on extension. Adding more extensions to the mime type map. 2011-03-28 22:42:33 -05:00
Michael Dowling
52ded354a1 [Http] Abstracting protocolVersion. Not forcing CurlFactory to be a singleton, but the singleton instance is available for performance. 2011-03-28 22:24:18 -05:00
Michael Dowling
930494c795 [Common] [Http] Adding coverage to Collection. Not forcing a request to be set to new in order to send it again. 2011-03-28 21:23:03 -05:00
Michael Dowling
7c0c64efbf [Http] Removing CurlConstants class 2011-03-28 21:00:21 -05:00
Michael Dowling
9a63bb5112 [Service] Cleaning up code 2011-03-28 15:47:49 -05:00
Michael Dowling
675c979094 [Service] Cleaning up Command API 2011-03-28 00:36:17 -05:00
Michael Dowling
1dce958700 [Service] Removing extraneous code from Guzzle\Service\ServiceBuilder 2011-03-28 00:10:12 -05:00
Michael Dowling
d081e30d59 [Http] Referencing the CURLOPT_TIMEOUT_MS constant only if it is defined 2011-03-27 20:22:06 -05:00
Michael Dowling
f4e7478b44 [Http] Referencing the CURLOPT_TIMEOUT_MS constant only if it is defined 2011-03-27 20:14:37 -05:00
Michael Dowling
435f9d5964 [Http] Fixing cURL version check when checking for cURL options that can pollute a handle 2011-03-27 20:05:12 -05:00
Michael Dowling
4c7bc0b702 Updating docblocks 2011-03-27 18:05:06 -05:00
Michael Dowling
229aace559 [Common] Improving the performance of Guzzle\Common\Inspector 2011-03-27 17:46:59 -05:00
Michael Dowling
118a67a2c6 Updating vendors 2011-03-27 17:20:00 -05:00
Michael Dowling
8d266bb314 [Common] Removing the ability to skip cache in the Inflector. Adding a cap to the number of items that can be cached by the Inflector. 2011-03-27 17:08:35 -05:00
Michael Dowling
08d18f6187 [Tests] Adding more tests to ensure that commands are processed as they complete 2011-03-25 17:23:52 -05:00
Michael Dowling
2c9d2ad266 [Service] Processing the result of a command in a command set as soon as the requests issued by the command completes instead of waiting for all of the commmands in the set to complete. 2011-03-25 16:26:58 -05:00
Michael Dowling
1a7953c57a [Http] Updating cookie jars and the cookie plugin to store cookies in jars with a single cookie per row to make storing, retrieving, and updating cookies easier. When a cookie version 2 is encountered with multiple cookie values in one Set-Cookie header, the cookie will be broken up into multiple cookies for the cookie jar. 2011-03-24 22:45:55 -05:00
Michael Dowling
af380f1365 [Common] Optimizing the sorting of events in the event manager 2011-03-24 11:23:48 -05:00
Michael Dowling
b15cf68883 [Common] [Service] Adding a method to the event manager to get the priority level that an observer was attached at. Attaching observers to requests created by client in the same order that the observers were attached to the client 2011-03-24 11:20:38 -05:00
Michael Dowling
620e13057c [Http] [Service] Adding more coverage to Url. Fixing CookiePlugintest. Allowing XML based commands to extend previously defined commands. 2011-03-23 17:24:36 -05:00
Michael Dowling
da781d6202 [Common] [Http] Performance enhancements. Adding a match flag to Collection operations instead of determining how a key should match. 2011-03-23 14:19:14 -05:00
Michael Dowling
cf58b2c82e [Http] Only adding CURLOPT_FOLLOWLOCATION to cURL handles if open_basedir is not set 2011-03-22 22:42:33 -05:00
Michael Dowling
fd0b13140c [Http] Only checking if CURLOPT_TIMEOUT_MS is set if the version of curl is > 7.16.2. Storing a cached version of curl_version in Guzzle\Guzzle to speed up any checks on curl_version information. 2011-03-22 16:58:15 -05:00
Michael Dowling
45fd67b4f3 [Service] Not creating an injected URL if a config has not been set an the URL needs injections 2011-03-22 16:26:53 -05:00
Michael Dowling
af430c5e17 [Service] Setting a config before setting the base_url of a client 2011-03-22 15:46:25 -05:00
Michael Dowling
f53d169978 [Http] [Service] Better handling in the RequestFactory to generate entity enclosing requests using various body variable types. Passing an API command to a concrete command class when working with service descriptions. Adding more tests. 2011-03-22 11:23:06 -05:00
Michael Dowling
43f3b213f2 [Tests] Updating the class attribute of the test XML service description 2011-03-21 23:05:00 -05:00