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

637 Commits

Author SHA1 Message Date
Ben Longden
c43b822e02 Adds test to Header parseParams 2013-06-27 18:12:44 +01:00
Ben Longden
d546fa9670 Adds test for URL containing '=' 2013-06-27 18:06:10 +01:00
Michael Dowling
6809b59368 Adding a guzzle-perf endpoint to the test server 2013-06-26 17:51:04 -07:00
Michael Dowling
9b1988826b Merge pull request #348 from natmchugh/convert-xmlvisitor-to-xmlwriter
Re-write XmlVisitor to use XMLWriter and handle CDATA
2013-06-26 17:09:13 -07:00
Michael Dowling
097f22b217 Fixing setting default sticky client options 2013-06-26 11:46:43 -07:00
Michael Dowling
1a2c616bd0 Cleaning up and adding tests for malformed URL parsing 2013-06-26 11:36:41 -07:00
Michael Dowling
8f94fcfc40 Allow a Host header to diverge from the URL host. Closes #362 2013-06-26 11:25:10 -07:00
Michael Dowling
c468c74223 Adding cert and ssl_key as request options. Closes #351 2013-06-26 11:21:27 -07:00
Nathaniel McHugh
1a9ee843cc Merge branch 'master' of https://github.com/guzzle/guzzle 2013-06-25 09:22:09 +01:00
Nathaniel McHugh
0e21feef34 Disallow sufix matching of IP address as per RFC6265 http://tools.ietf.org/html/rfc6265#section-5.1.3 2013-06-25 09:18:31 +01:00
Michael Dowling
cae4acd96f Fixing issue with setting options on head requests. Closes #352 2013-06-23 10:19:47 -07:00
Nathaniel McHugh
d4c2954696 * Re-write XmlVisitor to use XmlWriter instead of SimpleXml
* Add test to handle html in element escaped as CDATA
* Add check for html and encode as CDATA
2013-06-12 14:25:31 +01:00
Michael Dowling
9239f08e00 Adding an easier way to set and retrieve default options 2013-06-10 17:17:36 -07:00
Michael Dowling
6743aed41f Better decoupling of requests from CurlMulti 2013-06-09 20:01:54 -07:00
Michael Dowling
caed0ab1aa Client::expandTemplate() and Client::getUriTemplate() are protected 2013-06-09 13:41:02 -07:00
Michael Dowling
505bb7b665 request.params is deprecated. Use request.options/params. Adding params request option. 2013-06-09 11:14:47 -07:00
Michael Dowling
933074107d Marking CurlAuthPlugin as deprecated 2013-06-09 01:31:44 -07:00
Michael Dowling
e29fcc71fd Adding the ability to specify default request options for every client request
Adding Guzzle\Common\Collection::setPath($path, $value)
Marking setDefaultHeaders() and getDefaultHeaders() as deprecated on a
Client.
Added the ability to provide flags when applying RequestFactory options.
This allows for things like applying options in a default manner so that
they do not overwrite existing values.
2013-06-09 01:25:35 -07:00
Michael Dowling
c2e9f5e269 More improvements to QueryString 2013-06-08 00:22:30 -07:00
Michael Dowling
a5a6b87f69 Removing the need for a temp variable 2013-06-07 23:08:40 -07:00
Michael Dowling
e9b120942c Adding StreamInterface::isRepeatable. Marked Request::isResponseBodyRepeatable() as deprecated. 2013-06-07 22:40:51 -07:00
Michael Dowling
34c86a2184 Just using parse_url instead of a UrlParser 2013-06-07 22:20:46 -07:00
Michael Dowling
ab4dc363b1 Accepting Basic and Digest as authentication schemes for RequestInterface::setAuth() 2013-06-07 21:59:29 -07:00
Michael Dowling
7141fd8f5c Hiding the CURLAUTH_* constants from the Request options API and instead using Basic and Digest auth types 2013-06-07 21:29:56 -07:00
Michael Dowling
dca26ad31c Adding connect_timeout and removing curl from request options 2013-06-07 18:43:57 -07:00
Michael Dowling
7d44266a56 Adding the ability to enable deprecation warnings when using deprecated functionality 2013-06-06 22:12:31 -07:00
Michael Dowling
079ee2d1ce Moving cacCache logic to the DefaultCanCacheStrategy 2013-06-06 11:40:39 -07:00
Michael Dowling
9ae415989b Injecting CanCacheStrategy into DefaultRevalidation 2013-06-06 11:02:14 -07:00
Michael Dowling
a0658a8a6c Way better handling of retrieving the size of a stream 2013-06-05 21:36:05 -07:00
Michael Dowling
3d9ed373d6 Setting the size of a stream if it is known after converting from a request 2013-06-05 20:58:48 -07:00
Michael Dowling
a86eb121f5 Optimizing Collection::overwriteWith() 2013-06-05 00:23:51 -07:00
Jeremy Lindblom
2700590d93 Added a default value for the ServiceBuilder's constructor for simpler instantiation 2013-06-04 23:28:08 -07:00
Michael Dowling
4572b5b490 Updating ExceptionCollection to better handle nested messages 2013-06-04 22:25:38 -07:00
Michael Dowling
babaad5325 Making messages returned from ExceptionCollection easier to read 2013-06-04 22:06:36 -07:00
Michael Dowling
5aefa0d6be Allowing arbitrary data to be provided to a ServiceBuilder and better documenting how a ServiceBuilder works. Closes #338. 2013-06-04 21:26:52 -07:00
Michael Dowling
52d89960df Coverage for HeaderFactory 2013-06-03 22:48:00 -07:00
Michael Dowling
d6c67909df More tests 2013-06-03 22:42:13 -07:00
Michael Dowling
8f7839f51f Adding more tests 2013-06-03 22:17:14 -07:00
Michael Dowling
333e1771b9 Fixing coverage annotation 2013-06-03 21:55:37 -07:00
Michael Dowling
21385e1ad2 Adding a proxy option to requests. Adding a save_to option. Allowing the auth value to accept an optional auth scheme 2013-06-03 21:52:05 -07:00
Michael Dowling
4352035ae6 CS fixes 2013-06-02 20:40:51 -07:00
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