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

2027 Commits

Author SHA1 Message Date
Michael Dowling
7b257eb0fb Making the test server static and adding Makefile 2014-03-22 22:05:45 -07:00
Michael Dowling
85974063dc Merge pull request #603 from guzzle/immutable_configs
Making clients more immutable
2014-03-21 16:54:08 -07:00
Michael Dowling
d4e897936c Renaming getDefaults() to getDefaultValue() 2014-03-21 16:54:06 -07:00
Michael Dowling
6faff45a4e Merge pull request #604 from cordoval/fix-typos
some fixes
2014-03-21 16:50:04 -07:00
Luis Cordova
fba8fbda2f fix some typos on master guzzle 2014-03-21 16:30:01 -07:00
Michael Dowling
2c3c124aaf Cleaning up 2014-03-21 16:24:20 -07:00
Michael Dowling
b30ce5d514 Making clients more immutable
- Removing getConfig() and setConfig() from clients to avoid confusion around
  whether things like base_url, message_factory, etc should be able to be
  retrieved from getConfig() or modified using setConfig().
- Adding getDefaults() and setDefaultValue() to customize default request
  options of a client.
- Updating Url class to check if a scheme and host are set before adding
  ":" and "//". This allows empty Url (e.g., "") to be serialized as "".
- Removing dead code from Url class.
- Adding a functions.php function for get_path and set_path so that these
  functions can be used on regular PHP arrays. Collection now proxies to these
  functions when Collection::(get|set)Path() is called.
- Resolves #599.
2014-03-21 12:37:32 -07:00
Michael Dowling
beaeeb368f Suppressing warnings when unable to parse XML. Closes #602 2014-03-21 10:25:55 -07:00
Michael Dowling
4124f9019e Fixing two failing tests 2014-03-20 20:39:52 -07:00
Michael Dowling
b9ff4ca02b Performance optimizations after some profiling 2014-03-19 22:40:17 -07:00
Michael Dowling
c1f23e10f3 Updating curl adapter to use callable curl factories 2014-03-19 14:42:35 -07:00
Michael Dowling
3110976dfd Adding the ability to specify sendAll event priorities
- Adding optional priorities to sendAll events.
- Adding documentation on sendAll options.
2014-03-18 21:38:27 -07:00
Michael Dowling
8a963426e4 Breaking the StreamAdapter into smaller methods and ensuring that custom stream context options are merged over all other options 2014-03-18 20:23:20 -07:00
Michael Dowling
e935c4dc37 Marking deprecation_proxy() as internal 2014-03-18 20:06:47 -07:00
Michael Dowling
002c2e3179 Updating composer.json install example 2014-03-18 11:29:36 -07:00
Michael Dowling
b738bbe6f6 statusCode() -> getStatusCode() 2014-03-18 10:27:47 -07:00
Michael Dowling
2971bb7dbf Fixing example 2014-03-17 22:01:48 -07:00
Michael Dowling
b9801df819 Adding the ability to specify custom stream context options and documentation on passing stream and curl options. 2014-03-17 21:56:15 -07:00
Michael Dowling
40fa970840 Merge pull request #593 from ecoleman/patch-1
Correct spelling mistake
2014-03-17 13:11:49 -07:00
Eric Coleman
3deea0c86d Correct spelling mistake 2014-03-17 16:10:57 -04:00
Michael Dowling
c4d5dd12c7 Updating functions to use snake_case to match PHP's idioms 2014-03-16 20:09:33 -07:00
Michael Dowling
e32613e049 Updating the streams docs 2014-03-16 20:03:33 -07:00
Michael Dowling
70fa8158c4 Updating to use Stream\create() 2014-03-16 19:56:20 -07:00
Michael Dowling
28cf2e31e9 Merge pull request #591 from GrahamCampbell/composer
Improved Version Constraint
2014-03-16 18:02:32 -07:00
Graham Campbell
949e888a6b Improved version constraint 2014-03-16 22:59:44 +00:00
Michael Dowling
0e664350fb Adding missing method to ClientInterface 2014-03-16 09:32:57 -07:00
Michael Dowling
44cdbe770d Updating some curl classes to throw AdapterExceptions 2014-03-16 09:26:54 -07:00
Michael Dowling
390ebb70a2 Fixing README 4.0.0-rc.1 2014-03-15 16:49:17 -07:00
Michael Dowling
58ae6b51e0 Updating readme 2014-03-15 16:46:57 -07:00
Michael Dowling
ae5822b6c3 Updating streams requirement 2014-03-15 16:44:44 -07:00
Michael Dowling
c8380b37f4 Cleaning up after merge 2014-03-15 15:45:56 -07:00
Michael Dowling
73cb9228fe Merge branch 'guzzle4'
Conflicts:
	build.xml
	docs/_downloads/guzzle-schema-1.0.json
	docs/_templates/index.html
	docs/http-client/client.rst
	docs/http-client/request.rst
	docs/iterators/guzzle-iterators.rst
	docs/plugins/cache-plugin.rst
	docs/plugins/creating-plugins.rst
	docs/webservice-client/guzzle-service-descriptions.rst
	docs/webservice-client/webservice-client.rst
	phar-stub.php
	phing/build.properties.dist
	phing/imports/dependencies.xml
	phing/imports/deploy.xml
	phing/tasks/GuzzlePearPharPackageTask.php
	phing/tasks/GuzzleSubSplitTask.php
	src/Guzzle/Cache/CacheAdapterFactory.php
	src/Guzzle/Common/Exception/ExceptionCollection.php
	src/Guzzle/Common/Version.php
	src/Guzzle/Http/Client.php
	src/Guzzle/Http/Curl/CurlMulti.php
	src/Guzzle/Http/Curl/CurlMultiProxy.php
	src/Guzzle/Http/Exception/BadResponseException.php
	src/Guzzle/Http/Message/EntityEnclosingRequest.php
	src/Guzzle/Http/Message/EntityEnclosingRequestInterface.php
	src/Guzzle/Http/Message/Header/HeaderCollection.php
	src/Guzzle/Http/Message/PostFile.php
	src/Guzzle/Http/Message/PostFileInterface.php
	src/Guzzle/Http/Message/Request.php
	src/Guzzle/Http/Message/RequestFactory.php
	src/Guzzle/Http/Message/Response.php
	src/Guzzle/Http/QueryString.php
	src/Guzzle/Http/RedirectPlugin.php
	src/Guzzle/Iterator/composer.json
	src/Guzzle/Parser/Cookie/CookieParser.php
	src/Guzzle/Plugin/Async/AsyncPlugin.php
	src/Guzzle/Plugin/Backoff/BackoffPlugin.php
	src/Guzzle/Plugin/Cache/DefaultRevalidation.php
	src/Guzzle/Plugin/Cookie/Cookie.php
	src/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php
	src/Guzzle/Plugin/ErrorResponse/ErrorResponsePlugin.php
	src/Guzzle/Plugin/Log/LogPlugin.php
	src/Guzzle/Plugin/Md5/Md5ValidatorPlugin.php
	src/Guzzle/Plugin/Mock/MockPlugin.php
	src/Guzzle/Service/Client.php
	src/Guzzle/Service/Command/AbstractCommand.php
	src/Guzzle/Service/Command/DefaultRequestSerializer.php
	src/Guzzle/Service/Command/DefaultResponseParser.php
	src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php
	src/Guzzle/Service/Command/LocationVisitor/Response/JsonVisitor.php
	src/Guzzle/Service/Description/Parameter.php
	src/Guzzle/Service/Description/SchemaValidator.php
	src/Guzzle/Service/Resource/Model.php
	src/Guzzle/Stream/PhpStreamRequestFactory.php
	tests/Guzzle/Tests/Common/Exception/ExceptionCollectionTest.php
	tests/Guzzle/Tests/GuzzleTestCase.php
	tests/Guzzle/Tests/Http/ClientTest.php
	tests/Guzzle/Tests/Http/Curl/CurlHandleTest.php
	tests/Guzzle/Tests/Http/Curl/CurlMultiProxyTest.php
	tests/Guzzle/Tests/Http/Message/PostFileTest.php
	tests/Guzzle/Tests/Http/Message/RequestFactoryTest.php
	tests/Guzzle/Tests/Http/Message/RequestTest.php
	tests/Guzzle/Tests/Http/Message/ResponseTest.php
	tests/Guzzle/Tests/Http/QueryStringTest.php
	tests/Guzzle/Tests/Http/RedirectPluginTest.php
	tests/Guzzle/Tests/Http/UrlTest.php
	tests/Guzzle/Tests/Parser/Cookie/CookieParserProvider.php
	tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php
	tests/Guzzle/Tests/Plugin/Cookie/CookieJar/ArrayCookieJarTest.php
	tests/Guzzle/Tests/Plugin/Cookie/CookiePluginTest.php
	tests/Guzzle/Tests/Plugin/Cookie/CookieTest.php
	tests/Guzzle/Tests/Plugin/Mock/MockPluginTest.php
	tests/Guzzle/Tests/Service/ClientTest.php
	tests/Guzzle/Tests/Service/Command/CommandTest.php
	tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/JsonVisitorTest.php
	tests/Guzzle/Tests/Service/Command/OperationResponseParserTest.php
	tests/Guzzle/Tests/Service/Description/ParameterTest.php
	tests/Guzzle/Tests/Stream/PhpStreamRequestFactoryTest.php
	tests/Guzzle/Tests/TestData/description/bar.json
	tests/Guzzle/Tests/TestData/description/baz.json
	tests/Guzzle/Tests/TestData/description/recursive.json
	tests/bootstrap.php
2014-03-15 14:54:52 -07:00
Michael Dowling
51cca7c8ea Updating theme 2014-03-15 14:44:21 -07:00
Michael Dowling
08b714b6f2 Adding a constant to represent the default number of parallel requests. Reducing the default from 50 to 25 2014-03-15 10:20:34 -07:00
Michael Dowling
c5b9017a3a Cleaning up the prepare subscriber 2014-03-14 17:03:06 -07:00
Michael Dowling
e43ced85c4 Fixing a couple typos and adding query string docs 2014-03-13 10:58:32 -07:00
Michael Dowling
cc38dd2c16 Line cleanup 2014-03-12 22:34:25 -07:00
Michael Dowling
08d918cdde Adding information about first and last priorities 2014-03-12 21:58:33 -07:00
Michael Dowling
6b741497b6 Adding information on event priorities 2014-03-12 19:34:27 -07:00
Michael Dowling
b18907d5cb Adding adapter docs and an emitHeaders() helper 2014-03-12 19:00:11 -07:00
Michael Dowling
fb4676a42b Typos 2014-03-12 17:56:58 -07:00
Michael Dowling
6075c278a1 Allowing the use of openssl.cafile when using the phar 2014-03-12 15:42:30 -07:00
Michael Dowling
045ade85d8 Copying cacert each time phar is loaded and removing MD5 check.
- Updating cacert bundle.
- Closes #583
- Closes #568
2014-03-12 14:51:50 -07:00
Michael Dowling
3f8eeb0e55 Updating cacert bundle 2014-03-12 14:24:07 -07:00
Michael Dowling
296279c0e9 Moving PathTrait to HasDataTrait 2014-03-12 13:53:32 -07:00
Michael Dowling
23e61ccea6 Fixing curl error test 2014-03-12 13:45:13 -07:00
Michael Dowling
85422b5bd5 Adding shims that emit deprecations for the really common event method names 2014-03-12 13:44:27 -07:00
Michael Dowling
098078c1cc Doing some cleanup to the UriTemplate class 2014-03-11 20:43:30 -07:00
Michael Dowling
761304764e Moving streams to its own package 2014-03-11 19:35:51 -07:00
Michael Dowling
1abcf6c2df Adding a check to ensure that an exception cannot have the emitted error setting set to false 2014-03-11 10:43:05 -07:00