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

1703 Commits

Author SHA1 Message Date
Michael Dowling
c6cf0c6da2 Updating HTTP method signature to be simpler and more consistent
- HTTP method based signatures like get(), put(), etc.. accept a URL,
  and array of request options. createRequest() is similar but also requires
  a method string.
- Renamed request events to 'before', 'complete', 'error', and 'headers.
- Renamed the associated event classes.
- Adding more docs.
2014-02-13 23:37:34 -08:00
Michael Dowling
f35c07eba4 Reorganizing docs 2014-02-13 20:05:40 -08:00
Michael Dowling
ef42e31fc0 Adding more docs 2014-02-13 09:45:42 -08:00
Michael Dowling
7368075cf9 Replacing HeaderValuesInterface with an array and adding docs.
- Instead of using a HeaderValues object for header values, I've added an
optional argument to getHeader() that specifies whether or not to return
a header as a string or an array.
- Adding the start of the new documentation.
2014-02-12 20:07:05 -08:00
Michael Dowling
bf42ea6f40 Adding test to ensure that a custom parallel_adapter can be specified on a client 2014-02-11 22:55:00 -08:00
Michael Dowling
da9e30f98e Renaming BatchAdapter stuff to ParallelAdapter 2014-02-11 22:51:50 -08:00
Michael Dowling
0c03ac7acd Removing phar specific functionality exception for a check to see if the bundled cacert can be loaded 2014-02-11 22:39:53 -08:00
Michael Dowling
6734da08bd Adding more documentation on when and how request options are used, how adapters are expected to use them, and documenting the request options used by subscribers 2014-02-11 22:10:49 -08:00
Michael Dowling
e66d734d39 Cleaning up URL 2014-02-11 21:19:42 -08:00
Michael Dowling
45e2733bd1 Adding retry tests 2014-02-10 23:40:10 -08:00
Michael Dowling
1f08b4f91f Making the allow_redirects request option more useful and uniform 2014-02-09 23:05:23 -08:00
Michael Dowling
d0e2ceb8aa Fixing formatting issue 2014-02-09 21:10:35 -08:00
Michael Dowling
5d75b172f5 Adding some upgrade notes for the Http namespace 2014-02-09 21:09:42 -08:00
Michael Dowling
7640f1a5df Moving TransactionIterator to Guzzle\Http\Adapter 2014-02-09 19:40:09 -08:00
Michael Dowling
7e8f347e2d Renaming Plugin to Subscriber 2014-02-09 18:20:14 -08:00
Michael Dowling
d18f23e8df Adding some preliminary upgrade instructions 2014-02-09 18:10:20 -08:00
Michael Dowling
b067d89a78 Fixing docblock 2014-02-09 17:06:22 -08:00
Michael Dowling
648bf07929 Adding missing test and ensuring that a request body seeks to 0 before sending 2014-02-09 16:44:46 -08:00
Michael Dowling
d312987183 Adding test to ensure that the fragment is stripped when using curl 2014-02-09 16:36:15 -08:00
Michael Dowling
ce867392eb MessageTrait should really be AbstractMessage 2014-02-09 16:31:57 -08:00
Michael Dowling
4f1e114fe1 Doing a better job of passing custom request options
- Better handling of request options passed from client to messages and
  adapters.
- CurlAdapter now converts string keys that start with CURL to the equivalent
  CURL_* constant value.
- Added a few extension points to requests and the CurlAdapter
2014-02-09 16:05:42 -08:00
Michael Dowling
e43ce6ec5c I would rather not return the Collection directly. Removing invalid docblock tag. 2014-02-09 10:22:17 -08:00
Michael Dowling
5978d6d48b Fixing typo 2014-02-09 10:19:07 -08:00
Michael Dowling
180afc16cf Removing dead code 2014-02-08 18:31:04 -08:00
Michael Dowling
89c07b20bd Not forcing HTTP/1.0 when using the stream adapter and adding Connection: close when a Connection header is not present and using HTTP/1.1 2014-02-08 17:55:10 -08:00
Michael Dowling
86e849838c Sending curl stats when possible in error event and removing reference to no longer used message formatter variable 2014-02-08 17:48:52 -08:00
Michael Dowling
4fcc52db28 Removing curl requirement for creating the user agent. Closes #556 2014-02-08 17:32:31 -08:00
Michael Dowling
0e6a6c3d26 Renaming BackoffPlugin to RetryPlugin and fixing MessageFormatter
RetryPlugin now supports logging retries by intercepting the retry delay
function.

Updated the MessageFormatter to properly log request and response strings.
2014-02-08 17:28:01 -08:00
Michael Dowling
2a2017bef1 Can call functions without call_user_func 2014-02-08 14:52:37 -08:00
Michael Dowling
c8aa018db0 Fixing concrete class to match interface 2014-02-08 14:45:10 -08:00
Michael Dowling
7f979204e8 Greatly simplifying the backoff plugin 2014-02-08 14:34:48 -08:00
Michael Dowling
8869d8285a Cleaning up doc comments 2014-02-08 13:46:28 -08:00
Michael Dowling
bd33fd1e0c Returning the config collection if no key is set 2014-02-08 13:25:05 -08:00
Michael Dowling
cdddc896c3 Adding missing request factory tests 2014-02-08 12:01:15 -08:00
Michael Dowling
5922d1cf4c Cleaning up UriTemplate as this is now an opt-in and not used by default 2014-02-08 12:00:59 -08:00
Michael Dowling
d175175c6e Adding event tests 2014-02-08 10:45:02 -08:00
Michael Dowling
9afa37f676 Adding tests for mock and fake adapter 2014-02-08 10:19:12 -08:00
Michael Dowling
186767a037 Adding some missing tests 2014-02-08 01:13:36 -08:00
Michael Dowling
cd74af3254 Adding tests for TransactionIterator 2014-02-08 01:07:51 -08:00
Michael Dowling
bdf0092410 Renaming getListeners to listeners 2014-02-08 00:31:02 -08:00
Michael Dowling
53c8ebd67e Removing dependency on Symfony EventDispatcher
- Created a customer EventDispatcher based on a mix of Symfony
  and Evenement.
- Removed Guzzle\Version and using a constant in functions.php
2014-02-08 00:14:16 -08:00
Michael Dowling
734b94f8a7 Adding the ability to append an array value using setPath 2014-02-07 15:33:30 -08:00
Michael Dowling
0014d3962a Bringing changes over from 3.0 2014-02-06 23:41:28 -08:00
Michael Dowling
f57974fe58 Fixing test 2014-02-06 21:53:08 -08:00
Michael Dowling
a8550e8fac Removing dependency on PHP 5.5... For now. 2014-02-06 21:33:54 -08:00
Michael Dowling
b1fab910ba Cleaning up the building of URLs 2014-02-06 20:53:34 -08:00
Michael Dowling
217db1dcbf Porting a recent cookie fix to remove empty cookies when they are set 2014-02-05 23:58:26 -08:00
Michael Dowling
0994a9e138 Adding getConfig() and setConfig() to ClientInterface
Cleaning up config array after processing input data.
Removing getBaseUrl() from ClientInterface. Use getConfig('base_url')
Moving cacert out of the Resources folder and just into Http
2014-02-05 23:53:24 -08:00
Michael Dowling
90a4cba4f8 Removing unused trait 2014-02-05 22:13:06 -08:00
Michael Dowling
24d1aac0ed Cleaning up client privates and configuration checks 2014-02-05 01:25:40 -08:00