1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 10:33:18 +01:00

646 Commits

Author SHA1 Message Date
Michael Dowling
b3522ef177 Removing the ability to disable magic methods. Simplifying sending multiple requests and commands in parallel. 2013-06-02 20:31:39 -07:00
Michael Dowling
edc734f6a1 Adding the ability to specify request creational options on a command using command.options 2013-06-02 17:40:41 -07:00
Michael Dowling
7bf8be6ddb Giving ClientInterface::get() a much better API 2013-06-02 17:04:32 -07:00
Michael Dowling
158f956a52 Moving the option application to RequestFactoryInterface. Adding options parameters to client HTTP methods and createRequest. 2013-06-02 15:54:43 -07:00
Michael Dowling
ad3609f3a2 Adding tests for the simplified interface 2013-06-02 11:39:50 -07:00
Michael Dowling
207340d88a Adding the ability to automatically purge cached resources when non-idempotent methods are issued through the plugin 2013-06-02 11:11:39 -07:00
Michael Dowling
4c84f3f91d Adding cache.key_filter to DefaultCacheStorage to add the ability to remove cache-busting query string variables from a request URL based cache key 2013-06-02 11:01:24 -07:00
Michael Dowling
93897c9786 Adding shouldRevalidate to RevalidationInterface 2013-06-02 10:43:09 -07:00
Michael Dowling
6b11d6159d Updating CachePlugin to use a Vary based storage
* You can now purge all responses for a given URL
* Updating CacheStorageInterface to handle hashing and purging
* Removed CacheKeyProviders. This is now handled by a CacheStorageInterface. A custom storage can be created for custom caching and hashing needs.
* Adding an easier way to create CacheAdapters
* Deprecating CacheAdapterFactory::factory()
* Closes #252
2013-06-02 00:08:42 -07:00
Michael Dowling
c40e073446 Making response serializable 2013-06-01 16:36:30 -07:00
Michael Dowling
a00adad586 Issue a revalidation request when a cached response contains an ETag and
no Cache-Control header.
Closes #206.
2013-06-01 15:49:15 -07:00
Michael Dowling
136cfac53e Fixing adding links to a Link header 2013-06-01 15:22:26 -07:00
Michael Dowling
e2102f6e53 Adding detachStream to StreamInterface 2013-05-29 22:57:50 -07:00
Michael Dowling
ebbae74993 Removing overly verbose @covers annotations from unit tests 2013-05-29 22:53:59 -07:00
Michael Dowling
7a739903c2 Optimizing Collection ArrayAccess and cleaning up 2013-05-29 22:11:28 -07:00
Michael Dowling
37ae86b69a Adding the ability to inject a custom HeaderFactory 2013-05-29 22:10:32 -07:00
Michael Dowling
ede507c326 Cleaning up EntityEnclosingRequestInterface 2013-05-29 22:10:32 -07:00
Michael Dowling
c8f0e96a9d Removing header blacklisting. This is not needed now that Accept, Expect, etc can be managed via Guzzle and it caused more issues than benefits (e.g. signing requests would create an invalid signature) 2013-05-29 22:10:32 -07:00
Michael Dowling
2d0a15c059 Better separation of concerns for Request and RequestMediator. Adding startResponse() to RequestInterface and removine receiveResponseHeader() 2013-05-29 22:10:32 -07:00
Michael Dowling
c68015cd57 Making setting a request on a response even more deprecated 2013-05-29 22:10:31 -07:00
Michael Dowling
a80f73b53c Removing the cast as a string argument of getHeader 2013-05-29 22:10:31 -07:00
Michael Dowling
d7ff043ceb Fixing an issue where the return values of Response header functions were not consistently a string 2013-05-29 22:10:31 -07:00
Michael Dowling
598567d166 Restructuring internal header structure, adding granular headers, move HeaderComparision because it is only for testing, and using a header collection 2013-05-29 22:10:31 -07:00
Michael Dowling
a97fc9a9f8 Removing unused statements from bootstrap.php 2013-05-28 20:00:19 -07:00
Michael Dowling
2822304d2e Reverting the change that added the cloning of a body when cloning a
request. Closes #327
2013-05-27 20:10:36 -07:00
Michael Dowling
693af7b85e Merge remote-tracking branch 'halama/master' 2013-05-27 19:53:30 -07:00
Michael Dowling
bc47b69923 Merge branch 'master' of github.com:guzzle/guzzle 2013-05-27 19:51:09 -07:00
Michael Dowling
b0d1c9ee22 Cleaning up header constructor 2013-05-27 19:38:26 -07:00
Lars Strojny
c7c1def18b Fixing parsing of incomplete URLs 2013-05-26 14:09:45 +02:00
Michael Dowling
f833fda488 Deprecating setTokenizedHeader and getTokenizedHeader. These never actually worked correctly. Use $header->parseParams() instead. 2013-05-23 17:04:03 -07:00
Michael Dowling
e68bc9fd95 Adding the ability to parse Link headers in a response
Adding a parseParams method to header objects that can be used across the project.
2013-05-23 16:36:02 -07:00
Martin Halamicek
5ff347ee88 Code style issues 2013-05-23 14:12:48 +02:00
Martin Halamicek
83dfdaebcf Log/MessageFormatter - check if response is passed 2013-05-23 13:49:30 +02:00
Michael Dowling
8a14a60dcc Adding command.hidden_params to mark arbitrary command options as not additional parameters 2013-05-18 18:16:38 -07:00
Michael Dowling
561dfd8408 ServiceDescription now implements toArrayInterface 2013-05-18 15:06:50 -07:00
Pierre-Yves LEBECQ
f9a365ca8b Fixed an undefined index notice when using sentAs with the response JsonVisitor. 2013-05-13 18:29:42 +02:00
Michael Dowling
91e946b157 Cleaning up cloning EntityEnclosingRequest
No need to get keys when cloning request headers
Removing queued mock events after one-time use
Only writing to custom resonse body for mock when not a redirect
2013-05-12 17:58:31 -07:00
Michael Dowling
f7ec7f788e Fixing message formatter use of Curl handles. Closes #316 2013-05-10 21:25:44 -07:00
Michael Dowling
b79634f189 Deprecating ZF1 log and cache adapters.
Removing ZF1 tests that required some hacky tests and composer settings
CS fixes
2013-05-10 21:16:12 -07:00
Michael Dowling
3b14a01963 Fixing tests 2013-05-10 20:46:21 -07:00
Michael Dowling
04a8d47b77 Better handling of setting the effective URL 2013-05-10 17:44:48 -07:00
Michael Dowling
8c1b080235 Correctly handling effective URLs for responses 2013-05-10 16:20:48 -07:00
Michael Dowling
1742bacfe1 Removing old redirect hack 2013-05-10 16:12:36 -07:00
Michael Dowling
328029c2bc Adding coverage for casting the history plugin to a string 2013-05-10 16:07:51 -07:00
Michael Dowling
2017544e8f Updating HistoryPlugin and tests 2013-05-10 16:03:15 -07:00
Michael Dowling
82fa11cacd Cleaning up request state management
Removing RedirectHistory (just use the HistoryPlugin)
Adding getEffectiveUrl() and getRedirectCount() to Response
Updating HistoryPlugin to more accurately reflect over the wire
2013-05-10 15:51:02 -07:00
Michael Dowling
aae077a12b Test cleanup 2013-05-10 11:24:55 -07:00
Michael Dowling
c96e99ef15 More cleanup between requests and redirect history 2013-05-10 11:21:33 -07:00
Michael Dowling
56c93d08c2 More fixes to redirects 2013-05-10 11:01:59 -07:00
Michael Dowling
15abfe65e2 Removing some circular references
Better cleanup of CurlMulti handles on exceptions
curl.callback.progress emits a resource rather than CurlHandle
Removing curl_handle and curl_multi debug Request params
2013-05-09 15:34:47 -07:00