Michael Dowling
b572e3c8df
Moving cookie jars, cleaning up expect, adding docs, validating auth schemes.
2014-02-15 23:40:24 -08:00
Michael Dowling
e801e7796b
Renaming client and server response exceptions
...
- Adding more docs on error handling
- Tightening down the client interface to only allow RequestExceptions to be
thrown from a client during a send() method. This makes error handling much
easier and predictable.
2014-02-15 11:59:31 -08:00
Michael Dowling
d5834212e0
Tweaking curl implementation
2014-02-14 18:58:36 -08:00
Michael Dowling
ef245ab292
Moving header parsing static functions to AbstractMessage so that they are more accesible to request and response objects
2014-02-13 23:45:09 -08:00
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
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
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
7640f1a5df
Moving TransactionIterator to Guzzle\Http\Adapter
2014-02-09 19:40:09 -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
cdddc896c3
Adding missing request factory tests
2014-02-08 12:01:15 -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
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
24d1aac0ed
Cleaning up client privates and configuration checks
2014-02-05 01:25:40 -08:00
Michael Dowling
ced33c6739
Renaming plugins to subscribers
2014-02-04 23:30:03 -08:00
Michael Dowling
8c35bb6ac6
Removing a request event that was only used for testing
2014-02-04 23:10:33 -08:00
Michael Dowling
0f502b598d
Cleaning up and fixing tests
2013-12-16 21:10:04 -08:00
Michael Dowling
f11f9380e5
Changing batching
2013-12-15 19:01:26 -08:00
Michael Dowling
a6bb34646a
Adding an abstraction over curl context and providing the context in after_send and error events from the curl adapter.
2013-11-03 14:42:47 -08:00
Michael Dowling
f89b39db77
Stripping fragment when using cURL adapter
2013-10-30 19:47:45 -07:00
Michael Dowling
59c61b8db3
Cleaning up after rebase
2013-10-29 22:08:42 -07:00
Michael Dowling
34b9858d83
Ensuring empty or malformed headers are parsed correctly
2013-10-29 21:38:36 -07:00
Michael Dowling
809ada31ba
Adding more cookie options
2013-10-29 21:38:35 -07:00
Michael Dowling
ce8f6e7a92
Adding pool tests and ensuring that curl handles are removed from a multi when errored
2013-10-29 21:38:34 -07:00
Michael Dowling
00bb8b9a89
Renaming some built-in plugins to subscribers and moving into the core HTTP. Adding cookie tests, mock tests, history tests, cookie jar tests, etc.
2013-10-29 21:38:34 -07:00
Michael Dowling
09406834ed
Cleaning up CurlAdapter and adding tests
2013-10-29 21:38:33 -07:00
Michael Dowling
b17813ad12
Adding CurlFactory tests
2013-10-29 21:38:33 -07:00
Michael Dowling
4337247024
Adding transfer stats test
2013-10-29 21:38:33 -07:00
Michael Dowling
16a1467442
Adding some curl factory tests
2013-10-29 21:38:32 -07:00
Michael Dowling
fd8871acc3
Fixing size value calculation from stream, trimming headers as they are added, and adding tests for RequestMediator
2013-10-29 21:38:32 -07:00
Michael Dowling
47caa20fc4
Adding functions tests
2013-10-29 21:38:32 -07:00
Michael Dowling
4a6a74f9d1
Removing unused use
2013-10-29 21:38:32 -07:00
Michael Dowling
8e2333c385
Adding test to ensure that event is emitted correctly
2013-10-29 21:38:31 -07:00
Michael Dowling
6beef38a53
Adding StreamAdapterTest. Fixing stream factory.
2013-10-29 21:38:31 -07:00
Michael Dowling
83445a0839
Adding test server to adapter test
2013-10-29 21:38:31 -07:00
Michael Dowling
7c53b60b48
Updating StreamAdapter and adding test skeleton
2013-10-29 21:38:30 -07:00