Michael Dowling
10f90a0356
Porting request visitors
2014-02-23 12:25:37 -08:00
Michael Dowling
aab0e6de47
Porting Guzzle service descriptions to the new event system
2014-02-23 01:05:31 -08:00
Michael Dowling
7fcf225d0e
Fixing dot segment removal, how absolute URLs are detected, the namespace used for functions.php, and how segments of a path are returned
2014-02-21 11:47:05 -08:00
Michael Dowling
39d56dfffc
More work on the service description layer
2014-02-21 00:17:38 -08:00
Michael Dowling
2ef69a3d43
Updating header parsing to accept a message and string value for a header
2014-02-20 22:04:44 -08:00
Michael Dowling
0b43358a90
unset allows multiple arguments
2014-02-20 12:46:00 -08:00
Michael Dowling
06fa223f53
Fixing up curl handle pruning
2014-02-20 12:44:13 -08:00
Michael Dowling
27c4a47f3c
Adding tests for Curl and CurlMulti, removing error event
...
- Adding a shared set of tests for curl and multi adapters
- Removing guard for failing to create a curl handle. This should not
be allowed to fail.
2014-02-19 23:26:33 -08:00
Michael Dowling
769de2d766
Fixing the easy adapter
2014-02-19 22:45:08 -08:00
Michael Dowling
524648041f
Updating for NS changes
2014-02-19 20:28:33 -08:00
Michael Dowling
6e6f58d6ed
Adding a curl easy adapter
2014-02-19 20:20:19 -08:00
Michael Dowling
ae89ca3566
Fixing RFC 3986 URL resolution and dot-segments
...
Url::combine() now returns a new Url instance.
2014-02-19 15:28:22 -08:00
Michael Dowling
ed7bf951c5
Implementing the events emitted for the service layer
2014-02-18 22:28:54 -08:00
Michael Dowling
7cb2022027
Fixing client example
2014-02-18 20:42:16 -08:00
Michael Dowling
afaf8853fa
Service updates
2014-02-17 23:21:49 -08:00
Michael Dowling
0a5503b5bd
Making some classes more readable
2014-02-17 21:18:26 -08:00
Michael Dowling
65333062c9
Moving Post namespace up a level
2014-02-17 20:55:48 -08:00
Michael Dowling
bcdaa497a2
Adding Referer to redirects
2014-02-17 20:52:36 -08:00
Michael Dowling
9e9500801e
Doc fixes
2014-02-17 17:37:20 -08:00
Michael Dowling
efe252100e
Adding a protocol setting and a bit of HTTP/2.0 support
2014-02-17 10:27:56 -08:00
Michael Dowling
98bc4bbf34
Adding hhvm and 5.6
2014-02-16 23:54:38 -08:00
Michael Dowling
7bced1367e
Renaming Event\\Event to Event\\AbstractEvent
2014-02-16 23:32:33 -08:00
Michael Dowling
744f153bb6
Fixing coverage
2014-02-16 23:21:50 -08:00
Michael Dowling
ce56db078b
Moving query aggregators to callables
2014-02-16 23:20:17 -08:00
Michael Dowling
2b779dccb3
Moving some things like query and url up a NS
2014-02-16 21:02:54 -08:00
Michael Dowling
89a8e2ede1
Using PSR-4 and moving namespace from Guzzle to GuzzleHttp
...
- Moving various namespaces up a level
- Updating docs
- Renaming EventSubscriberInterface to SubscriberInterface
2014-02-16 20:42:45 -08:00
Michael Dowling
ebf4e533d1
Renaming "options" to "config" for the config request option
...
Adding request and response docs
2014-02-16 17:10:57 -08:00
Michael Dowling
5203c3c277
Allow auth to be set to null
2014-02-16 15:45:43 -08:00
Michael Dowling
b7ea464e5e
Allowing query string of a request to be changed
2014-02-16 13:39:16 -08:00
Michael Dowling
ed56f3a935
Removing request event constants
2014-02-16 13:09:34 -08:00
Michael Dowling
f99e7c77a1
Adding request event documentation
2014-02-16 13:01:46 -08:00
Michael Dowling
07c4470bb8
Adding note about signing priority
2014-02-16 12:26:49 -08:00
Michael Dowling
a1a23b11e7
Better defining how the "auth" option works
...
- Adding more docs and type information
- Defining how auth works and how to create custom auth schemes
- Removing custom auth stuff from the CurlFactory
2014-02-16 12:17:02 -08:00
Michael Dowling
67de97be1f
Adding checks to remove default ports from URLs when changing the scheme
2014-02-16 11:13:30 -08:00
Michael Dowling
46a1b91341
Adding the ability to specify protocol proxies
...
Adding more docs and an example of custom curl options.
2014-02-16 00:13:49 -08:00
Michael Dowling
9d62a557d4
Making it very clear that a client has an event listener prototype for requests
2014-02-15 23:47:49 -08:00
Michael Dowling
b572e3c8df
Moving cookie jars, cleaning up expect, adding docs, validating auth schemes.
2014-02-15 23:40:24 -08:00
Michael Dowling
ba70a0ed3c
More event docs updates
2014-02-15 14:40:18 -08:00
Michael Dowling
25a3a5046b
Adding more event docs, and passing the emitter to listeners when they are triggered.
2014-02-15 14:15:27 -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
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